On Monday 06 August 2007 23:00:56 Tito wrote: > Hi, > this is a first attempt to implement a stripped down version of expand. > This version is only little tested so it may contain all sort of bugs. > Hints, critics and help in testing and improving it is welcome. > > bloat-o-meter (after make defconfig and enabling the expand applet) says: > function old new delta > expand_main - 437 +437 > .rodata 121357 121485 +128 > packed_usage 22558 22660 +102 > applets 3108 3120 +12 > ------------------------------------------------------------------------------ > (add/remove: 1/0 grow/shrink: 3/0 up/down: 679/0) Total: 679 bytes > > Usage is: expand [-i] [-t NUM] [FILE | -] > > * Options: > * -t num Convert tabs to num spaces (default 8 spaces). > * > * Caveat: this version doesn't accept tab lists and > * therefore isn't conform to The Open Group Base > * Specifications Issue 6. > * > * -i Only convert initial tabs on each line to > spaces. > > Ciao, > Tito >
Hi Denis, please don't apply this patch fro the moment, I'm working on an improved one with less bugs, tests for our test suite and also unexpand. Need a few days for it. Ciao, Tito _______________________________________________ busybox mailing list [email protected] http://busybox.net/cgi-bin/mailman/listinfo/busybox
