[Toybox] Extend seq to support -f (format string) and -s (separator) as requested by LSB

Elie De Brauwer eliedebrauwer at gmail.com
Sun Dec 16 09:03:07 PST 2012


Hello all,

In attachment you can find a patch (including tests) which extends seq 
to support -f (format string) and -s (separator) commandline options, 
these changes are stated in the LSB documentation of seq.

Demo-time:
edb at lapedb:~/edb-stuff/toybox/toybox$ ./toybox seq -f'%+03g' -s '<=' -10 
5 10
-10<=-05<=+00<=+05<=+10


gr
E.

-- 
Elie De Brauwer

-------------- next part --------------
A non-text attachment was scrubbed...
Name: seq_-f_and_-s.patch
Type: text/x-patch
Size: 2741 bytes
Desc: not available
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20121216/a71147bf/attachment-0006.bin>


More information about the Toybox mailing list