Re: bug in textutils ?
On Sun, Mar 31, 2002 at 06:57:53PM +0200, Leo Laursen wrote:
> Hi
> I just found something peculiar with "head" in debian unstable
>
> textutils version 2.0-12
>
> head -21 gives the first 21 lines as expected, but
> head -22 gives the first 23 lines, ie. one extra,
> and it seems that values above 21 gives an extra line.
>
> Is this a known bug (or maybe a feature :-)
>
> Regards Leo Laursen
>
> I know, I have to learn how to make a proper bug report. :-)
Are you sure about this?
$ head /var/log/syslog.0 | wc -l
10
$ head -21 /var/log/syslog.0 | wc -l
21
$ head -22 /var/log/syslog.0 | wc -l
22
$ head -25 /var/log/syslog.0 | wc -l
25
etc....
$ dpkg -l textutils
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name Version Description
+++-==============-==============-============================================
ii textutils 2.0-12 The GNU text file processing utilities.
--
Eric G. Miller <egm2@jps.net>
--
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: