Bug#1040250: coreutils: tail: legacy flag format broken with empty number field

2024-06-21 Thread наб
On Mon, Jul 03, 2023 at 11:09:58PM +0200, наб wrote: > However, coreutils tail somehow takes it to mean... 10? > (Thus, coreutils tail +c f is the same as V7 tail +10c.) This was actually mandated by SUSv3 and earlier (before it was removed in later POSIXes). So maybe do keep doing it.

Bug#1040250: coreutils: tail: legacy flag format broken with empty number field

2023-07-03 Thread наб
Package: coreutils Version: 9.1-1 Severity: normal Dear Maintainer, The V7 () flag format is, nominally tail [ ±number[lbc][fr] ] [ file ] (https://www.tuhs.org/cgi-bin/utree.pl?file=4.1cBSD/usr/man/man1/tail.1). An empty number field is equivalent to a zero (the documentation is a meme, but