aboutsummaryrefslogtreecommitdiff
path: root/coreutils (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Merge common parts of sha1sum and md5sum, which is everything except thebug12003-11-103-10/+208
| | | | | | | | | algorithms. Move algorithms to hash_fd and make them available via a common function. git-svn-id: svn://busybox.net/trunk/busybox@7863 69ca8d6d-28ef-0310-b511-8ec308f3f277
* As vodz pointed out, setting unset_env to NULL is sufficientandersen2003-11-071-5/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@7844 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Rewrite, 800+ bytes smaller and more robust.bug12003-11-061-330/+178
| | | | git-svn-id: svn://busybox.net/trunk/busybox@7817 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix oversight with CONFIG_FEATURE_AUTOWIDTH handlingandersen2003-11-041-0/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@7780 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Set unset_env pointing to a NULL item, to prevent us from walkingandersen2003-11-031-1/+5
| | | | | | | | off the end of the list and segfaulting. -Erik git-svn-id: svn://busybox.net/trunk/busybox@7766 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Move the tail -c option from FANCY_TAIL to the default tail, this makesbug12003-10-312-18/+9
| | | | | | | | the default tail options conform to SUSv3, with the non-SUS option all in FANCY_TAIL git-svn-id: svn://busybox.net/trunk/busybox@7730 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Remove config options for sort -u and sort -r, they are always enabledbug12003-10-311-16/+0
| | | | git-svn-id: svn://busybox.net/trunk/busybox@7728 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Accept the -c option and do nothingbug12003-10-291-0/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@7723 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Disable any buffering to stdoutandersen2003-10-221-0/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@7694 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Andreas Mohr writes:andersen2003-10-221-9/+9
| | | | | | | | | | | | | | the busybox menuconfig triggered my "inacceptable number of spelling mistakes" upper level, so I decided to make a patch ;-) I also improved some wording to describe some things in a better way. Many thanks for an incredible piece of software! Andreas Mohr, random OSS developer git-svn-id: svn://busybox.net/trunk/busybox@7692 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Steven Scholz, fix some warningsbug12003-10-091-1/+0
| | | | git-svn-id: svn://busybox.net/trunk/busybox@7625 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Add the -d optionbug12003-09-241-1/+31
| | | | git-svn-id: svn://busybox.net/trunk/busybox@7558 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Add the "install" applet, move get_ug_id to libbb as its used by chown,bug12003-09-245-17/+110
| | | | | | | chgrp and install. git-svn-id: svn://busybox.net/trunk/busybox@7557 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Be entirely consistant when using ioctl(0, TIOCGWINSZ, &winsize)andersen2003-09-151-10/+5
| | | | | | | | to ensure proper fallback behavior on, i.e. serial consoles. -Erik git-svn-id: svn://busybox.net/trunk/busybox@7526 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Jean Wolterbug12003-09-081-1/+1
| | | | | | | expr currently always adds even if told to subtract git-svn-id: svn://busybox.net/trunk/busybox@7432 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Preserve suid/sgid bitsbug12003-09-081-0/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@7425 69ca8d6d-28ef-0310-b511-8ec308f3f277
* move all "-/bin/sh" "/bin/sh" and "sh" to libbb/messages.c file as onebug12003-09-021-1/+1
| | | | | | | | constant. Vodz last_patch_107 git-svn-id: svn://busybox.net/trunk/busybox@7365 69ca8d6d-28ef-0310-b511-8ec308f3f277
* vodz, last patch 103bug12003-08-291-72/+69
| | | | git-svn-id: svn://busybox.net/trunk/busybox@7278 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Woops, depend on SHA1 not the optionbug12003-08-261-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@7262 69ca8d6d-28ef-0310-b511-8ec308f3f277
* SHA1 options depend on SHA1bug12003-08-261-0/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@7261 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Typobug12003-08-191-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@7223 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Remove unnecessary pointer dereference.mjn32003-08-131-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@7203 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Adjust Erik's change, as I don't claim copyright of the applet.mjn32003-08-091-2/+0
| | | | git-svn-id: svn://busybox.net/trunk/busybox@7192 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Remove unnecessary defamatory commentandersen2003-08-081-12/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@7182 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix a stupid bug I introduced several months agoandersen2003-08-081-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@7181 69ca8d6d-28ef-0310-b511-8ec308f3f277
* last_patch98 from vodz:andersen2003-07-281-12/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Denis, ># ./busybox env - echo zzz >zzz ># ./busybox echo -n zzz >zzz ># ./busybox env - echo -n zzz >env: invalid option -- n > > obviously, env tried to understand -n as env's option > instead of blindly passing it to echo... > >BusyBox v1.00-pre1 (2003.07.16-07:53+0000) multi-call binary > >Usage: env [-iu] [-] [name=value]... [command] Ah, you found very old problem. Last patch also have: - multiple "-u unsetenv" support - GNU long option support - save errno after exec failed before bb_perror_msg() --w vodz git-svn-id: svn://busybox.net/trunk/busybox@7120 69ca8d6d-28ef-0310-b511-8ec308f3f277
* There should be only one instance of CONFIG_FEATURE_AUTOWIDTHandersen2003-07-261-3/+7
| | | | git-svn-id: svn://busybox.net/trunk/busybox@7115 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Set the tm_isdst flag to -1 before calling mktime(). Otherwise, the currentmjn32003-07-231-0/+1
| | | | | | | timezone setting is used for the new date. git-svn-id: svn://busybox.net/trunk/busybox@7103 69ca8d6d-28ef-0310-b511-8ec308f3f277
* eliminate DOSTATIC, DODEBUG, etc and name them sensiblyandersen2003-07-221-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@7102 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Remove remaining libc5 support codeandersen2003-07-222-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@7090 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Update a bunch of docs. Run a script to update my email addr.andersen2003-07-1418-29/+18
| | | | git-svn-id: svn://busybox.net/trunk/busybox@7061 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Thomas Cameron:andersen2003-07-141-100/+100
| | | | | | | | | | | | | | 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
* Michael Sternberg writes:andersen2003-07-141-0/+4
| | | | | | | | | | Latest BusyBox from CVS (Jul 7 2003). File coreutils/ls.c "if" at line 970 should be enclosed in #ifdef CONFIG_FEATURE_LS_SORTFILES "if" at line 976 should be enclosed in #ifdef CONFIG_FEATURE_LS_TIMESTAMPS git-svn-id: svn://busybox.net/trunk/busybox@7056 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Kent Robotti adding a bunch of needed docs!andersen2003-07-051-1/+2
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@7038 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Russell Coker:andersen2003-07-032-18/+110
| | | | | | | | I've attached my latest SE Linux patch for busybox against the latest CVS version of busybox. git-svn-id: svn://busybox.net/trunk/busybox@7031 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Kent Robotti adding a bunch of menuconfig helpandersen2003-07-031-76/+107
| | | | git-svn-id: svn://busybox.net/trunk/busybox@7029 69ca8d6d-28ef-0310-b511-8ec308f3f277
* As implemented, sha1sum would sometimes give the wrong answer.andersen2003-07-031-109/+298
| | | | | | | | This fixes it and uses faster sha1 code from Dr. Gladman. -Erik git-svn-id: svn://busybox.net/trunk/busybox@7027 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Make sure we end up with a unix2dos link to busyboxandersen2003-06-261-0/+5
| | | | git-svn-id: svn://busybox.net/trunk/busybox@6984 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Somewhere in the 2.4.x kernel series, /proc/mounts was changed to display aandersen2003-06-201-1/+3
| | | | | | | | | | | "rootfs" entry as well as the traditional "/dev/root" entry. This caused applets such as mount and df to display two root filesystem entries.... This teaches the relevant utilities to ignore the "rootfs" entry. -Erik git-svn-id: svn://busybox.net/trunk/busybox@6946 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Add prototype update missing from last_patch89. Fix screwyandersen2003-06-201-3/+4
| | | | | | | formatting in cut. git-svn-id: svn://busybox.net/trunk/busybox@6941 69ca8d6d-28ef-0310-b511-8ec308f3f277
* last_patch89 from vodz:andersen2003-06-2011-241/+199
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* sha1sum option to compare checksumsbug12003-06-082-46/+123
| | | | git-svn-id: svn://busybox.net/trunk/busybox@6901 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Better error handlingbug12003-06-071-9/+16
| | | | git-svn-id: svn://busybox.net/trunk/busybox@6900 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Minor correctionbug12003-06-071-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@6899 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix bug (wrong value computed) when reading file from stdin, implementbug12003-06-071-39/+41
| | | | | | | -s option git-svn-id: svn://busybox.net/trunk/busybox@6898 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Run through indentbug12003-06-071-780/+808
| | | | git-svn-id: svn://busybox.net/trunk/busybox@6897 69ca8d6d-28ef-0310-b511-8ec308f3f277
* cleanup a bit to remove needless verify() functionandersen2003-05-261-39/+36
| | | | git-svn-id: svn://busybox.net/trunk/busybox@6857 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Vodz, last_patch_86bug12003-05-261-3/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@6853 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Use bb_xgetlargbug12003-04-271-9/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@6822 69ca8d6d-28ef-0310-b511-8ec308f3f277
* New applet, foldbug12003-04-273-0/+209
| | | | git-svn-id: svn://busybox.net/trunk/busybox@6821 69ca8d6d-28ef-0310-b511-8ec308f3f277