Red Hat Bugzilla – Bug 191315
Less shows a blank line before showing a file
Last modified: 2007-11-30 17:11:32 EST
Description of problem:
Less adds a blank line to the top of a file when viewing a file versus viewing
the same data from a pipe.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. ls -l > /tmp/ls-l
2. cat /tmp/ls-l | less
3. less /tmp/ls-l
Extra blank line at the top of the first page
This is after patching less by adding 'DECOMPRESSOR=cat'; see bug 191308.
Never mind; there was an 'echo' in my .cshrc script that was causing this.