Blame SOURCES/less.csh

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