aboutsummaryrefslogtreecommitdiff
path: root/findutils/xargs.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* - move #include busybox.h to the very top so we pull in the configaldot2006-06-021-14/+3
| | | | | | | and eventual platform specific includes in early. git-svn-id: svn://busybox.net/trunk/busybox@15267 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - use the defines CURRENT_TTY and VC_1; also shrink xargs a tiny bit:aldot2006-05-271-3/+1
| | | | | | | | | | | | | | | | | | | add/remove: 0/0 grow/shrink: 2/6 up/down: 5/-37 (-32) function old new delta static.add_interface 271 274 +3 static.glob3 36 38 +2 static.renice_main 409 408 -1 static.readcmd 1083 1081 -2 static.changepath 176 174 -2 static.parse_opts 56 51 -5 static.rx_main 1095 1088 -7 static.xargs_main 759 739 -20 ---------------------------------------------------------------- Result :-) -32 git-svn-id: svn://busybox.net/trunk/busybox@15200 69ca8d6d-28ef-0310-b511-8ec308f3f277
* removed warning "comparison between signed and unsigned". Added ↵vodz2006-01-301-28/+28
| | | | | | ATTRIBUTE_UNUSED. My whitespace git-svn-id: svn://busybox.net/trunk/busybox@13710 69ca8d6d-28ef-0310-b511-8ec308f3f277
* 1) bb_opt_complementaly -> bb_opt_complementallyvodz2005-09-051-1/+1
| | | | | | | 2) better support long options 3) new flag '!' for bb_opt_complementally: produce bb_show_usage() if BB_GETOPT_ERROR internally git-svn-id: svn://busybox.net/trunk/busybox@11332 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Larry Doolittle writes:andersen2004-04-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | This is a bulk spelling fix patch against busybox-1.00-pre10. If anyone gets a corrupted copy (and cares), let me know and I will make alternate arrangements. Erik - please apply. Authors - please check that I didn't corrupt any meaning. Package importers - see if any of these changes should be passed to the upstream authors. I glossed over lots of sloppy capitalizations, missing apostrophes, mixed American/British spellings, and German-style compound words. What is "pretect redefined for test" in cmdedit.c? Good luck on the 1.00 release! - Larry git-svn-id: svn://busybox.net/trunk/busybox@8759 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Remove trailing whitespace. Update copyright to include 2004.andersen2004-03-151-8/+8
| | | | git-svn-id: svn://busybox.net/trunk/busybox@8630 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Try to make indent formatting less horribleandersen2003-10-311-39/+37
| | | | git-svn-id: svn://busybox.net/trunk/busybox@7733 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Add a comment with link to the SUSv3 standard for xargsbug12003-10-301-0/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@7727 69ca8d6d-28ef-0310-b511-8ec308f3f277
* run through indentbug12003-10-301-387/+392
| | | | git-svn-id: svn://busybox.net/trunk/busybox@7726 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Vods versions of xargsbug12003-10-101-191/+510
| | | | git-svn-id: svn://busybox.net/trunk/busybox@7634 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Bugfix for xargsbug12003-10-091-58/+99
| | | | git-svn-id: svn://busybox.net/trunk/busybox@7624 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Add the x, n, s and E options, remove -r as its expected behaviour.bug12003-10-041-14/+115
| | | | git-svn-id: svn://busybox.net/trunk/busybox@7601 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Dont mix xarg options with utility option, fixes example ofbug12003-10-031-11/+15
| | | | | | | | | | `echo "README" | xargs ls -al` Dont specify a path for the default behaviour of echo args allocated space for an extra ptr Use defines for the different options git-svn-id: svn://busybox.net/trunk/busybox@7597 69ca8d6d-28ef-0310-b511-8ec308f3f277
* last_patch89 from vodz:andersen2003-06-201-18/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 git-svn-id: svn://busybox.net/trunk/busybox@6939 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Major coreutils update.mjn32003-03-191-7/+5
| | | | git-svn-id: svn://busybox.net/trunk/busybox@6751 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Rewrite of xargs by Vladimir N. Oleynikbug12002-11-101-62/+84
| | | | git-svn-id: svn://busybox.net/trunk/busybox@5901 69ca8d6d-28ef-0310-b511-8ec308f3f277
* last_patch55 from vodz:andersen2002-09-161-18/+20
| | | | | | | | | I found overflow problem in xargs applet (allocated not space for trailing '\0'). Last patch also reduce 22 bytes size. ;) git-svn-id: svn://busybox.net/trunk/busybox@5518 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fixed a bug in xarg: string data was strcat'ed to a malloc'ed buffer - andsandman2002-08-031-8/+6
| | | | | | | | malloc does not clear memory by default (somehow this worked on x86, but not on arm) git-svn-id: svn://busybox.net/trunk/busybox@5148 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Call xmalloc before reallocandersen2001-11-191-0/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@3712 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Major rework of the directory structure and the entire build system.andersen2001-10-241-4/+4
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@3561 69ca8d6d-28ef-0310-b511-8ec308f3f277
* xstrdup xargs cleanup from Jeff Garzikandersen2001-03-231-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2194 69ca8d6d-28ef-0310-b511-8ec308f3f277
* It turns out that DODMALLOC was broken when I reorganized busybox.handersen2001-02-201-1/+1
| | | | | | | | | 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 git-svn-id: svn://busybox.net/trunk/busybox@1864 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix wget error message and add (and use) chomp library function.kraai2001-02-011-2/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1734 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix up copyright msgs. Bump version to 0.49 in preparation forandersen2001-01-271-1/+1
| | | | | | | | a release. Update the website with release details. -Erik git-svn-id: svn://busybox.net/trunk/busybox@1697 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Changed email address to codepoet.org, updated list of applets / docs Imarkw2001-01-041-1/+1
| | | | | | | maintain in AUTHORS. git-svn-id: svn://busybox.net/trunk/busybox@1537 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Use busybox error handling functions wherever possible.kraai2000-12-221-4/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1489 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Brand new version of xargs. Tested thoroughly by Kent Robotti. (Domo arigato,markw2000-11-141-112/+61
| | | | | | | Mr. Robotti...) Closes bug #1065. git-svn-id: svn://busybox.net/trunk/busybox@1301 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Yet more polish (thanks again to kent robotti for the bug reports).andersen2000-09-261-10/+12
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@1125 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Some more polish to make xargs act like GNU xargs (thanks to kent robottiandersen2000-09-251-5/+6
| | | | | | | | <robotti@metconnect.com> for testing and pointing out the differences) -Erik git-svn-id: svn://busybox.net/trunk/busybox@1120 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Renamed "internal.h" to the more sensible "busybox.h".andersen2000-09-251-1/+1
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@1119 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Final (I think) version of xargs. Throw away all that tedious stringandersen2000-09-251-94/+62
| | | | | | | | | scrubbing, and quit using system. Instead, use fork() and exec(), which yields and smaller, simpler, and cleaner design. -Erik git-svn-id: svn://busybox.net/trunk/busybox@1116 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Be ever so pedantic about escaping chars that the shell might not like...andersen2000-09-251-17/+59
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1115 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix up xargs so that things like 'cat cat.c | xargs echo' willandersen2000-09-241-6/+29
| | | | | | | | work properly. -Erik git-svn-id: svn://busybox.net/trunk/busybox@1109 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix xargs option parsingandersen2000-09-241-13/+18
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1108 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix memory problems, and make behavior correct.andersen2000-09-231-5/+8
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1102 69ca8d6d-28ef-0310-b511-8ec308f3f277
* rewrite, so it should be firly clean nowandersen2000-09-231-98/+97
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1099 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Use minix xargs instead, and update docs accordinglyandersen2000-09-221-913/+106
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@1098 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Comment on xargs choice.andersen2000-09-221-1/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1097 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Add in xargsandersen2000-09-221-0/+922
git-svn-id: svn://busybox.net/trunk/busybox@1096 69ca8d6d-28ef-0310-b511-8ec308f3f277