[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: tail option parsing bug
From: |
Jim Meyering |
Subject: |
Re: tail option parsing bug |
Date: |
20 May 2001 20:47:52 +0200 |
User-agent: |
Gnus/5.090003 (Oort Gnus v0.03) Emacs/21.0.104 |
Thanks for the report and patch!
I've applied that, even though support for the obsolescent
option syntax is slated to be withdrawn pretty soon.
Bruno Haible <address@hidden> wrote:
| Hi,
|
| In textutils-2.0 to 2.0.14, "tail -Nb" gives an error message. Example:
|
| $ tail -10b < /bin/tar | wc -c
| tail: b: invalid suffix character in obsolescent option
| 0
|
| But SUSV2 says the 'b' suffix is allowed and equivalent to 'c' with a
| multiplier of 512. Below is a fix.
|
| $ tail -10b < /bin/tar | wc -c
| 5120
|
| Bruno
|
|
| 2001-05-12 Bruno Haible <address@hidden>
|
| * src/tail.c (parse_obsolescent_option): Accept a b suffix.