aboutsummaryrefslogtreecommitdiff
path: root/wc.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* This patch, put together by Manuel Novoa III, is a merge of workandersen2001-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. git-svn-id: svn://busybox.net/trunk/busybox@1805 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix header file usage -- there were many unnecessary header files included inandersen2001-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 git-svn-id: svn://busybox.net/trunk/busybox@1695 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Matt Kraai so wc will return a proper error codeandersen2000-10-091-4/+6
| | | | | | | | | when failing to open a file, and will not use file when it didn't open the file. -Erik git-svn-id: svn://busybox.net/trunk/busybox@1174 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Consolidate handling of some fopen failures.kraai2000-09-271-6/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1136 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Renamed "internal.h" to the more sensible "busybox.h".andersen2000-09-251-1/+1
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@1119 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Added expr, from Edward Betts <edward@debian.org>, with some fixupsandersen2000-09-051-1/+1
| | | | | | | | and docs added by me. -Erik git-svn-id: svn://busybox.net/trunk/busybox@1008 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Converted option parsing to using getopt(). Also managed to remove anmarkw2000-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. git-svn-id: svn://busybox.net/trunk/busybox@886 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Use FatalError()andersen2000-07-191-4/+2
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@879 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Extract usage information into a separate file.kraai2000-07-161-13/+0
| | | | git-svn-id: svn://busybox.net/trunk/busybox@864 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix argument parsing.kraai2000-07-141-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@852 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Updates to a number of apps to remove warnings/compile errors under libc5.andersen2000-06-191-1/+1
| | | | | | | | Tested under both libc5 and libc6 and all seems well with these fixes. -Erik git-svn-id: svn://busybox.net/trunk/busybox@660 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Lots of updates. Finished implementing BB_FEATURE_TRIVIAL_HELPerik2000-05-121-3/+6
| | | | | | | | | | | which lets you compile out most of the "--help" output, saving up to 17k. Renamed mnc to nc. -Erik git-svn-id: svn://busybox.net/trunk/busybox@532 69ca8d6d-28ef-0310-b511-8ec308f3f277
* More updates to the docs, and fixes to sync things with the docs.erik2000-04-171-1/+2
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@467 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Some formatting updates (ran the code through indent)erik2000-02-081-61/+66
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@357 69ca8d6d-28ef-0310-b511-8ec308f3f277
* * added (and documented) "-n" option for head -erik2000-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 git-svn-id: svn://busybox.net/trunk/busybox@336 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Sync up busybox with the latest and greatest. This is not stuff forerik2000-01-151-0/+162
the Embedix release. -Erik git-svn-id: svn://busybox.net/trunk/busybox@309 69ca8d6d-28ef-0310-b511-8ec308f3f277