summaryrefslogtreecommitdiff
path: root/wc.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* A cleanup patch from Jeff Garzik to static-ify a number ofEric Andersen2001-03-091-2/+2
| | | | namespace polluting things that really should be static.
* Patchs from Jeff Garzik <jgarzik@mandrakesoft.com> to cleanupEric Andersen2001-03-091-0/+1
| | | | | warnings with glibc 2.2 and use always use xfopen -Erik
* It turns out that DODMALLOC was broken when I reorganized busybox.hEric Andersen2001-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
* This patch, put together by Manuel Novoa III, is a merge of workEric Andersen2001-02-141-1/+1
| | | | | | done by Evin Robertson (bug#1105) and work from Manuel to make usage messages occupy less space and simplify how usage messages are displayed.
* Fix header file usage -- there were many unnecessary header files included inEric Andersen2001-01-271-0/+1
| | | | | | | 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
* Patch from Matt Kraai so wc will return a proper error codeEric Andersen2000-10-091-4/+6
| | | | | | when failing to open a file, and will not use file when it didn't open the file. -Erik
* Consolidate handling of some fopen failures.Matt Kraai2000-09-271-6/+3
|
* Renamed "internal.h" to the more sensible "busybox.h".Eric Andersen2000-09-251-1/+1
| | | | -Erik
* Added expr, from Edward Betts <edward@debian.org>, with some fixupsEric Andersen2000-09-051-1/+1
| | | | | and docs added by me. -Erik
* Converted option parsing to using getopt(). Also managed to remove anMark Whitley2000-07-201-17/+17
| | | | | | extraneous logic loop that existed only for the purpose of the special case of only one file. I replaced it with a variable to keep track of the number of files read.
* Use FatalError()Eric Andersen2000-07-191-4/+2
| | | | -Erik
* Extract usage information into a separate file.Matt Kraai2000-07-161-13/+0
|
* Fix argument parsing.Matt Kraai2000-07-141-1/+1
|
* Updates to a number of apps to remove warnings/compile errors under libc5.Eric Andersen2000-06-191-1/+1
| | | | | Tested under both libc5 and libc6 and all seems well with these fixes. -Erik
* Lots of updates. Finished implementing BB_FEATURE_TRIVIAL_HELPErik Andersen2000-05-121-3/+6
| | | | | | | | which lets you compile out most of the "--help" output, saving up to 17k. Renamed mnc to nc. -Erik
* More updates to the docs, and fixes to sync things with the docs.Erik Andersen2000-04-171-1/+2
| | | | -Erik
* Some formatting updates (ran the code through indent)Erik Andersen2000-02-081-61/+66
| | | | -Erik
* * added (and documented) "-n" option for head -Erik Andersen2000-01-231-1/+0
| | | | | | | contributed Friedrich Vedder <fwv@myrtle.lahn.de> * Cleanup for a number of usage messages -- also contributed Friedrich Vedder <fwv@myrtle.lahn.de> -Erik
* Sync up busybox with the latest and greatest. This is not stuff forErik Andersen2000-01-151-0/+162
the Embedix release. -Erik