Bug 191315

Summary: Less shows a blank line before showing a file
Product: [Fedora] Fedora Reporter: Penelope Fudd <bugzilla.redhat.com>
Component: lessAssignee: Ivana Varekova <varekova>
Status: CLOSED NOTABUG QA Contact: Mike McLean <mikem>
Severity: medium Docs Contact:
Priority: medium    
Version: 5   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-05-10 21:14:27 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Penelope Fudd 2006-05-10 18:27:09 UTC
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):
less-394-3

How reproducible:
Always

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 21:14:27 UTC
Never mind; there was an 'echo' in my .cshrc script that was causing this.