[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: bug in textutils ?



> 
> 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 :-)

$ 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.

$ head -21 Timer.cc|wc -l
     21
$ head -22 Timer.cc|wc -l
     22
$ head -23 Timer.cc|wc -l
     23
$ head -24 Timer.cc|wc -l
     24
$ head -50 Timer.cc|wc -l
     50
$ head -82 Timer.cc|wc -l
     82

Perhaps the file you are using head on confuses it??

> 
> I know, I have to learn how to make a proper bug report. :-)

make sure you have exim/sendmail/whatever configured to send mail out via your
ISP and then look into reportbug.


-- 
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: