aboutsummaryrefslogtreecommitdiff
path: root/findutils (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* 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-092-58/+107
| | | | 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
* Update a bunch of docs. Run a script to update my email addr.andersen2003-07-143-4/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@7061 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Thomas Cameron:andersen2003-07-141-2/+3
| | | | | | | | | | | | | | Hello all, This patch adds more "Help" text to the config system. Almost all applets now have a help entry. Also, I cleaned up the spacing of the existing text so that things are consistent. This patch is against this morning's CVS. Thomas Cameron CEI Systems, Inc. git-svn-id: svn://busybox.net/trunk/busybox@7058 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Lars Kellogg-Stedman:andersen2003-07-141-6/+12
| | | | | | | | The attached two patches add config documentation to init/Config.in and fileutils/Config.in. git-svn-id: svn://busybox.net/trunk/busybox@7055 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Kent Robotti adding a bunch of needed docs!andersen2003-07-051-4/+4
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@7038 69ca8d6d-28ef-0310-b511-8ec308f3f277
* last_patch89 from vodz:andersen2003-06-202-194/+186
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Config option to create an fgrep aliasbug12003-04-271-0/+9
| | | | git-svn-id: svn://busybox.net/trunk/busybox@6820 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix segfault when cleaning upbug12003-04-271-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@6819 69ca8d6d-28ef-0310-b511-8ec308f3f277
* grep -f support, adds only 60 Bytes, but regex's now compiled asbug12003-04-271-27/+48
| | | | | | | required, rather than being pre-compiled. git-svn-id: svn://busybox.net/trunk/busybox@6818 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Major coreutils update.mjn32003-03-193-34/+30
| | | | git-svn-id: svn://busybox.net/trunk/busybox@6751 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Apply patch from Ghozlane Toumi to add -inum support to find.andersen2003-01-232-11/+64
| | | | | | | | | | | Apply patch from Ghozlane Toumi to make find smaller by combining similar error messages Forward port find -newer support from busybox stable that was missing from unstable. -Erik. Fixup usage messages for find. -Erik git-svn-id: svn://busybox.net/trunk/busybox@6429 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix -mtime, by Ian Abbottbug12002-12-111-5/+5
| | | | git-svn-id: svn://busybox.net/trunk/busybox@6173 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Yet another major rework of the BusyBox config system, using the considerablyandersen2002-12-052-23/+70
| | | | | | | | | | | modified Kbuild system I put into uClibc. With this, there should be no more need to modify Rules.mak since I've moved all the interesting options into the config system. I think I've got everything updated, but you never know, I may have made some mistakes, so watch closely. -Erik git-svn-id: svn://busybox.net/trunk/busybox@6102 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Change if(x)free(x); to free(x);aaronl2002-11-281-4/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@6055 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Move readlink, mktemp, run-parts and which to a new debianutils dir.bug12002-11-113-83/+0
| | | | git-svn-id: svn://busybox.net/trunk/busybox@5908 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
* Patch for bug #1183: Added a -xdev option to find (configurable)sandman2002-07-242-0/+44
| | | | git-svn-id: svn://busybox.net/trunk/busybox@5083 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Completely rework the config system so that it no longer annoys me to work onandersen2002-04-122-18/+44
| | | | | | | | | | the busybox development tree. This eliminates the use of recursive make, and once again allows us to run 'make' in a subdirectory with the expected result. And things are now much faster too. Greatly improved IMHO... -Erik git-svn-id: svn://busybox.net/trunk/busybox@4595 69ca8d6d-28ef-0310-b511-8ec308f3f277
* * findutils/grep.c (grep_main): Remove unnecessary use of junk.kraai2002-02-221-3/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@4260 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Do not segfault if PATH is unset.kraai2002-01-141-9/+10
| | | | git-svn-id: svn://busybox.net/trunk/busybox@4083 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Remove `== TRUE' tests and convert `!= TRUE' and `== FALSE' tests to use !.kraai2001-12-201-4/+4
| | | | git-svn-id: svn://busybox.net/trunk/busybox@3925 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix undeclared variable error.kraai2001-11-201-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@3759 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Usr get_last_path_component() name basename()andersen2001-11-201-1/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@3737 69ca8d6d-28ef-0310-b511-8ec308f3f277
* oopsandersen2001-11-191-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@3714 69ca8d6d-28ef-0310-b511-8ec308f3f277
* More scrubbingandersen2001-11-191-4/+4
| | | | git-svn-id: svn://busybox.net/trunk/busybox@3713 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
* Fixup CLEANUP behaviorandersen2001-11-191-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@3709 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Convert strdup call to xstrdup, and calloc calls to xcalloc (patch fromkraai2001-11-121-3/+3
| | | | | | | Steve Merrifield). git-svn-id: svn://busybox.net/trunk/busybox@3667 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Add in grep -E supportandersen2001-11-101-0/+8
| | | | git-svn-id: svn://busybox.net/trunk/busybox@3653 69ca8d6d-28ef-0310-b511-8ec308f3f277
* config.in features patch from Giulio Orsero <giulioo@pobox.com>andersen2001-11-101-1/+7
| | | | | | | with some minor edits from me git-svn-id: svn://busybox.net/trunk/busybox@3639 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Make egrep only set REG_EXTENDED flag.kraai2001-10-311-1/+0
| | | | git-svn-id: svn://busybox.net/trunk/busybox@3621 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Charles Steinkuehler <charles@steinkuehler.net>andersen2001-10-311-0/+1
| | | | | | | to properly handle extended regexps for egrep git-svn-id: svn://busybox.net/trunk/busybox@3608 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Use extended regular expressions when invoked as egrep (noted and initialkraai2001-10-292-0/+8
| | | | | | | patch by Charles Steinkuehler). git-svn-id: svn://busybox.net/trunk/busybox@3601 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Major rework of the directory structure and the entire build system.andersen2001-10-246-36/+89
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@3561 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Scrub up some function prototypes.andersen2001-10-181-1/+0
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@3540 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix behavior of grep -lc to match GNU grep. SuS2 is ambiguousandersen2001-07-311-1/+4
| | | | | | | | on the correct behavior, so acting like GNU grep seems best -Erik git-svn-id: svn://busybox.net/trunk/busybox@3176 69ca8d6d-28ef-0310-b511-8ec308f3f277
* grep failed to compile when BB_FEATURE_CLEAN_UP was defined -- types were wrong.andersen2001-05-291-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2762 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Added support for grep -e and grep -f, closes bug #1164. Also added somemarkw2001-05-241-95/+142
| | | | | | | testcases for these new features. git-svn-id: svn://busybox.net/trunk/busybox@2722 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fixed extra -- lines (noted by Christophe Boyanique).kraai2001-05-221-1/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2699 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fixed mishandling of -c & -l options and accounted for case when we'remarkw2001-05-211-7/+16
| | | | | | | grepping only one file. git-svn-id: svn://busybox.net/trunk/busybox@2692 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Change 'printf("%s\n", ...)' into 'puts(...)'. Noted and patched in hostname.ckraai2001-05-162-2/+2
| | | | | | | by Larry Doolittle. git-svn-id: svn://busybox.net/trunk/busybox@2653 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fixed a subtle bug in the handling of -l and -c flags.markw2001-05-141-19/+19
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2637 69ca8d6d-28ef-0310-b511-8ec308f3f277
* A bug fix from Vladimir for a memory leak I stupidlyandersen2001-05-071-2/+2
| | | | | | | added to which.c. git-svn-id: svn://busybox.net/trunk/busybox@2561 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Larry suggested using concat_path_file() would be an even safer betandersen2001-05-041-4/+3
| | | | | | | | | | for 'which'. I ageed, so I whipped this up -- which revealed a bug in concat_path_file. It turns out that that a '/' can be appended from either the path _or_ the filename, but only the former was checked. -Erik git-svn-id: svn://busybox.net/trunk/busybox@2536 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix a buffer overflow. Which accounted for the size of the path, plus the theandersen2001-05-041-1/+1
| | | | | | | | | '/', plus the size of the test command. It did not account for the terminating NULL, which overwrote the end of the string. -Erik git-svn-id: svn://busybox.net/trunk/busybox@2533 69ca8d6d-28ef-0310-b511-8ec308f3f277