found a bug in head
Tamagucci <[email protected]>
| Newsgroups | gmane.comp.gnu.textutils.bugs |
|---|---|
| Message-ID | <[email protected]> |
the bug I found is very simple to explain: edward@localhost:~$ echo|head -08 head: 08: number of lines is so large that it is not representable edward@localhost:~$ echo|head -07 edward@localhost:~$ echo|head -n 08 head: 08: number of lines is so large that it is not representable edward@localhost:~$ echo|head -n 8 edward@localhost:~$ echo|head -n 9 edward@localhost:~$ echo|head -n 09 head: 09: number of lines is so large that it is not representable edward@localhost:~$ echo|head -n 000000000007 edward@localhost:~$ echo|head -n 000000000009 head: 000000000009: number of lines is so large that it is not representable edward@localhost:~$ echo|head -n 000000000008 head: 000000000008: number of lines is so large that it is not representable I'm using a debian woody, but I found that this bug is present even in the 2.0 original source code. -- Tamagucci