summaryrefslogtreecommitdiff
path: root/findutils/xargs.c
AgeCommit message (Collapse)Author
2003-06-20last_patch89 from vodz:Eric Andersen
Manuel, I rewrite bb_getopt_ulflags() function for more universal usage. My version support now: - options with arguments (optional arg as GNU extension also) - complementaly and/or incomplementaly and/or incongruously and/or list options - long_opt (all applets may have long option, add supporting is trivial) This realisation full compatibile from your version. Code size grow 480 bytes, but only coreutils/* over compensate this size after using new function. Last patch reduced over 800 bytes and not full applied to all. "mkdir" and "mv" applets have long_opt now for demonstrate trivial addition support long_opt with usage new bb_getopt_ulflags(). Complementaly and/or incomplementaly and/or incongruously and/or list options logic is not trivial, but new "cut" and "grep" applets using this logic for examples with full demostrating. New "grep" applet reduced over 300 bytes. Mark, Also. I removed bug from "grep" applet. $ echo a b | busybox grep -e a b a b a b But right is printing one only. --w vodz
2003-03-19Major coreutils update.Manuel Novoa III
2002-11-10Rewrite of xargs by Vladimir N. OleynikGlenn L McGrath
2002-09-16last_patch55 from vodz:Eric Andersen
I found overflow problem in xargs applet (allocated not space for trailing '\0'). Last patch also reduce 22 bytes size. ;)
2002-08-03Fixed a bug in xarg: string data was strcat'ed to a malloc'ed buffer - andRobert Griebl
malloc does not clear memory by default (somehow this worked on x86, but not on arm)
2001-11-19Call xmalloc before reallocEric Andersen
2001-10-24Major rework of the directory structure and the entire build system.Eric Andersen
-Erik
2001-03-23xstrdup xargs cleanup from Jeff GarzikEric Andersen
2001-02-20It turns out that DODMALLOC was broken when I reorganized busybox.hEric Andersen
header file usage before the 0.49 release. To fix it, I had to move the '#include "busybox.h"' to the end of the list of #include files. -Erik
2001-02-01Fix wget error message and add (and use) chomp library function.Matt Kraai
2001-01-27Fix up copyright msgs. Bump version to 0.49 in preparation for0_49Eric Andersen
a release. Update the website with release details. -Erik
2001-01-04Changed email address to codepoet.org, updated list of applets / docs IMark Whitley
maintain in AUTHORS.
2000-12-22Use busybox error handling functions wherever possible.Matt Kraai
2000-11-14Brand new version of xargs. Tested thoroughly by Kent Robotti. (Domo arigato,Mark Whitley
Mr. Robotti...) Closes bug #1065.
2000-09-26Yet more polish (thanks again to kent robotti for the bug reports).Eric Andersen
-Erik
2000-09-25Some more polish to make xargs act like GNU xargs (thanks to kent robottiEric Andersen
<robotti@metconnect.com> for testing and pointing out the differences) -Erik
2000-09-25Renamed "internal.h" to the more sensible "busybox.h".Eric Andersen
-Erik
2000-09-25Final (I think) version of xargs. Throw away all that tedious stringEric Andersen
scrubbing, and quit using system. Instead, use fork() and exec(), which yields and smaller, simpler, and cleaner design. -Erik
2000-09-25Be ever so pedantic about escaping chars that the shell might not like...Eric Andersen
2000-09-24Fix up xargs so that things like 'cat cat.c | xargs echo' willEric Andersen
work properly. -Erik
2000-09-24Fix xargs option parsingEric Andersen
2000-09-23Fix memory problems, and make behavior correct.Eric Andersen
2000-09-23rewrite, so it should be firly clean nowEric Andersen
2000-09-22Use minix xargs instead, and update docs accordinglyEric Andersen
-Erik
2000-09-22Comment on xargs choice.Eric Andersen
2000-09-22Add in xargsEric Andersen