From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040207 Firefox/0.8 Description of problem: /usr/bin/lesspipe.sh seems to be broken. Running lesspipe on a normal file (that isn't compressed, or an manfile etc) fails. Version-Release number of selected component (if applicable): less-378-11 How reproducible: Always Steps to Reproduce: 1./usr/bin/lesspipe.sh foo 2. 3. Actual Results: command exits doing nothing on uncompressed file. Expected Results: Should have been piped to the pager. Additional info: This seems to be the same bug as 88614 which was CLOSED CURRENTRELEASE with Red Hat 9.
lesspipe.sh is a helper script which should only be called by less. You should never run it directly. Instead set the environment variable LESSOPEN to '|/usr/bin/lesspipe.sh %s', p.e. with the following command: export LESSOPEN='|/usr/bin/lesspipe.sh %s' Our default configuration already does this for you. running 'less foo' then should do the right thing, i.e. uncompress files, or pipe them through man, ...