[BusyBox] Bugfix cut.c

Erik Andersen andersen at lineo.com
Mon Jun 26 18:14:36 UTC 2000


On Mon Jun 26, 2000 at 12:46:19AM +0200, Arne Bernin wrote:
> Hi,
> 
> while trying to build in the -s option to cut i found a bug in processing
> lines without the delimeter inside. cut used to print parts of the line
> again when requesting multible columns with -f (like -f 1,2).
> I'll include a patch to fix this and also enable the -s switch for printing
> only lines with the delimiter.
> Also fixed a segmentation fault when using cut like this:
> cut -f 1 -d: , it now prints an error message (syntax error).
> 
> --arne

Thanks for the fix.  Applied.

 -Erik

--
Erik B. Andersen   email:  andersen at lineo.com
--This message was written using 73% post-consumer electrons--





More information about the busybox mailing list