Bug 191315 - Less shows a blank line before showing a file
Summary: Less shows a blank line before showing a file
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: less
Version: 5
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Ivana Varekova
QA Contact: Mike McLean
URL:
Whiteboard:
Keywords:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-05-10 18:27 UTC by Penelope Fudd
Modified: 2007-11-30 22:11 UTC (History)
0 users

(edit)
Clone Of:
(edit)
Last Closed: 2006-05-10 21:14:27 UTC


Attachments (Terms of Use)

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.


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