[Toybox] [PATCH] tail: add the long option synonyms for -n and -c.

enh enh at google.com
Wed Oct 13 14:29:35 PDT 2021


Believe it or not -- I struggle to believe it myself -- we've been
ignoring tail's complaint that it doesn't know what --bytes means in the
Android CI infrastructure since at least mid-2019. (To be fair, today
wasn't the first time I'd seen that error message scroll by myself,
but it was the first time I've bothered/had time to investigate.)

Statically (via a code search), I also see references to --lines, and
toybox head already has the --bytes and --lines synonyms, so I've added
that here too, even though I haven't strictly seen anyone trying/failing
to use that personally yet.
---
 toys/posix/tail.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20211013/e9fc2374/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-tail-add-the-long-option-synonyms-for-n-and-c.patch
Type: text/x-patch
Size: 1328 bytes
Desc: not available
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20211013/e9fc2374/attachment-0002.bin>


More information about the Toybox mailing list