summaryrefslogtreecommitdiff
path: root/tr.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Fix header file usage -- there were many unnecessary header files included inEric Andersen2001-01-271-2/+2
| | | | | | | busybox.h which slowed compiles. I left only what was needed and then fixed up all the apps to include their own header files. I also fixed naming for pwd.h and grp.h functions. Tested to compile and run with libc5, glibc, and uClibc. -Erik
* Commit Larry Doolittle's buffers-on-stack/buffers-via-malloc patch.Eric Andersen2001-01-251-4/+5
| | | | -Erik
* #define -> static const int. Also got rid of some big static buffers.Mark Whitley2001-01-231-14/+26
|
* Changed names of functions in utility.c and all affected files, to makeMark Whitley2000-12-071-1/+1
| | | | compliant with the style guide. Everybody rebuild your tags file!
* Get rid of redundant TRUE and FALSE definitions.Matt Kraai2000-12-071-7/+0
|
* Patch from Matt Kraai to fix 'echo "1 2 3" | tr -s " "'Eric Andersen2000-12-061-1/+1
| | | | so it properly outputs "1 2 3".
* Renamed "internal.h" to the more sensible "busybox.h".Eric Andersen2000-09-251-1/+1
| | | | -Erik
* Extract usage information into a separate file.Matt Kraai2000-07-161-13/+0
|
* More cleanups.Eric Andersen2000-07-141-4/+4
| | | | -Erik
* Fix uninitialized variable.Eric Andersen2000-07-131-1/+1
| | | | -Erik
* From Matt Kraai <kraai@alumni.carnegiemellon.edu>Eric Andersen2000-07-131-24/+28
| | | | | | | | | | | | | > Here is a patch so that tr can handle NULL characters as well. Give it > a shot and let me know what you think. It is against the latest CVS > version. > > In my tests, the following now works as expected. > > tr '\0' '\n' > > Later, > Matt
* Always report the applet name when doing error reporting.Matt Kraai2000-07-121-1/+1
|
* Patch from Matt Kraai <kraai@alumni.carnegiemellon.edu>:Eric Andersen2000-07-101-2/+4
| | | | | | | | | | | | | | | | | | | GNU tr complains on the following: $ tr a '' tr: when not truncating set1, string2 must be non-empty BusyBox tr does not complain: $ tr a '' a ^D 0 It should result in an error, not in some spurious output. The attached patch generates an error. Matt
* * Fix to tr so it recognizes standard escape sequences. Merged commonEric Andersen2000-07-051-10/+2
| | | | | | | escape seq. code from tr and echo into utility.c. Fix thanks to Matt Kraai <kraai@alumni.carnegiemellon.edu>. * This should close Bug #1015. Please test. -Erik
* More libc portability updates, add in the website (which has not beenErik Andersen2000-05-191-12/+17
| | | | | archived previously). Wrote 'which' during the meeting today. -Erik
* More stuffErik Andersen2000-05-021-2/+4
| | | | -Erik
* Due to the license change I can now use Minix code. Minix trErik Andersen2000-05-011-525/+190
| | | | | | (adapted) now replaces BSD tr. Goes from 5k to 1k, and eliminates bsearch from the list of libc symbols. -Erik
* Bugfixes.Erik Andersen2000-04-171-5/+2
| | | | -Erik
* More documentation updates, and minor fixes to make things syncErik Andersen2000-04-151-7/+7
| | | | | up with the docs. -Erik
* * all mallocs now use xmalloc (and so are OOM error safe), andErik Andersen2000-03-211-3/+2
| | | | | | the common error handling saves a few bytes. Thanks to Bob Tinsley <bob@earthrise.demon.co.uk> for the patch. -Erik
* Add in tr and dirnameErik Andersen2000-03-051-0/+578
-Erik