Blame SOURCES/less.csh

2441b5
# less initialization script (csh)
2441b5
2441b5
# All less.*sh files should have the same semantics!
2441b5
2441b5
# In case you are curious, the test for non-emptiness is not as easy as in
2441b5
# Bourne shell.  This "eval" construct is probably inspired by Stack
2441b5
# Overflow question 13343392.
2441b5
if ( $?LESSOPEN && { eval 'test ! -z "$LESSOPEN"' } ) then
2441b5
    :
2441b5
else
2441b5
    if ( -x /usr/bin/lesspipe.sh ) then
2441b5
        # The '||' here is intentional, see rhbz#1254837.
2441b5
        setenv LESSOPEN "||/usr/bin/lesspipe.sh %s"
2441b5
    endif
2441b5
endif