Red Hat Bugzilla – Bug 191308
Less doesn't display plain files
Last modified: 2007-11-30 17:11:32 EST
Description of problem:
For some reason, less isn't displaying the contents of files.
Version-Release number of selected component (if applicable):
All the time
Steps to Reproduce:
1. rpm -qa | grep perl > /tmp/perlfiles
2. less /tmp/perlfiles
The contents of the file
I've fixed the bug by adding one line to /usr/bin/lesspipe.sh at line 39:
Without that line, the command line for plain files is " -- $1", which doesn't
This problem should be fixed in less-394-4.
*** This bug has been marked as a duplicate of 190619 ***