[PATCH] support for -w in seq

Natanael Copa natanael.copa at gmail.com
Mon Nov 10 11:02:12 UTC 2008


attatched is a patch that adds support for the -w option to seq.

# ./busybox seq -w 001 010
001
002
003
004
005
006
007
008
009
010

# make bloatcheck
function                                             old     new   delta
seq_main                                             268     320     +52
.rodata                                           169558  169564      +6
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 2/0 up/down: 58/0)               Total: 58
bytes
   text	   data	    bss	    dec	    hex	filename
 942990	   9145	   5288	 957423	  e9bef	busybox_old
 943048	   9145	   5288	 957481	  e9c29	busybox_unstripped

-nc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: busybox-seq-width.patch
Type: text/x-patch
Size: 689 bytes
Desc: not available
Url : http://lists.busybox.net/pipermail/busybox/attachments/20081110/94a9957c/attachment-0002.bin 


More information about the busybox mailing list