aboutsummaryrefslogtreecommitdiff
path: root/wc.c
AgeCommit message (Collapse)Author
2001-01-27Fix header file usage -- there were many unnecessary header files included inEric Andersen
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
2000-10-09Patch from Matt Kraai so wc will return a proper error codeEric Andersen
when failing to open a file, and will not use file when it didn't open the file. -Erik
2000-09-27Consolidate handling of some fopen failures.Matt Kraai
2000-09-25Renamed "internal.h" to the more sensible "busybox.h".Eric Andersen
-Erik
2000-09-05Added expr, from Edward Betts <edward@debian.org>, with some fixupsEric Andersen
and docs added by me. -Erik
2000-07-20Converted option parsing to using getopt(). Also managed to remove anMark Whitley
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.
2000-07-19Use FatalError()Eric Andersen
-Erik
2000-07-16Extract usage information into a separate file.Matt Kraai
2000-07-14Fix argument parsing.Matt Kraai
2000-06-19Updates to a number of apps to remove warnings/compile errors under libc5.Eric Andersen
Tested under both libc5 and libc6 and all seems well with these fixes. -Erik
2000-05-12Lots of updates. Finished implementing BB_FEATURE_TRIVIAL_HELPErik Andersen
which lets you compile out most of the "--help" output, saving up to 17k. Renamed mnc to nc. -Erik
2000-04-17More updates to the docs, and fixes to sync things with the docs.Erik Andersen
-Erik
2000-02-08Some formatting updates (ran the code through indent)Erik Andersen
-Erik
2000-01-23* added (and documented) "-n" option for head -Erik Andersen
contributed Friedrich Vedder <fwv@myrtle.lahn.de> * Cleanup for a number of usage messages -- also contributed Friedrich Vedder <fwv@myrtle.lahn.de> -Erik
2000-01-15Sync up busybox with the latest and greatest. This is not stuff forErik Andersen
the Embedix release. -Erik