Bug 191315 - Less shows a blank line before showing a file
Less shows a blank line before showing a file
Product: Fedora
Classification: Fedora
Component: less (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Ivana Varekova
Mike McLean
Depends On:
  Show dependency treegraph
Reported: 2006-05-10 14:27 EDT by Penelope Fudd
Modified: 2007-11-30 17:11 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2006-05-10 17:14:27 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Penelope Fudd 2006-05-10 14:27:09 EDT
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):

How reproducible:

Steps to Reproduce:
1. ls -l > /tmp/ls-l
2. cat /tmp/ls-l | less
3. less /tmp/ls-l
Actual results:
Extra blank line at the top of the first page

Expected results:

Additional info:
This is after patching less by adding 'DECOMPRESSOR=cat'; see bug 191308.
Comment 1 Penelope Fudd 2006-05-10 17:14:27 EDT
Never mind; there was an 'echo' in my .cshrc script that was causing this.

Note You need to log in before you can comment on or make changes to this bug.