Package: less
Version: 458-3
Severity: wishlist

When the -j option is used with a value larger than 1 (the purpose of
this option), n-1 spurious lines appear before the file when going to
line 1. For instance, type:

  printf "Line %d\n" `seq 200` | less -Mj3

and in "less", type < to go to the beginning of the file (line 1).
One gets:

~
~
Line 1
Line 2
Line 3
Line 4
Line 5
Line 6
[...]

Though the specification of -j says that the target (line 1) should
appear here at the third line of the terminal, giving empty context
lines is useless.

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 
'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=POSIX, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages less depends on:
ii  debianutils  4.4
ii  libc6        2.19-11
ii  libtinfo5    5.9+20140913-1

less recommends no packages.

less suggests no packages.

-- debconf-show failed


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to