aboutsummaryrefslogtreecommitdiff
path: root/coreutils/wc.c
AgeCommit message (Collapse)Author
2006-10-26rename functions to more understandable namesDenis Vlasenko
2006-10-26remove bb_printf and the likeDenis Vlasenko
2006-10-03getopt_ulflags -> getopt32.Denis Vlasenko
It is impossible to formulate sane ABI based on size of ulong because it can be 32-bit or 64-bit. Basically it means that you cannot portably use more that 32 option chars in one call anyway... Make it explicit.
2006-09-29wc: optionally support very large files in wcDenis Vlasenko
2006-09-29wc: reduce source cruft, make it so that "wc -c" (one option, no filenames)Denis Vlasenko
will not print leading blanks.
2006-07-12Add one-line GPL boilerplate to numerous (but not all yet) source files."Robert P. J. Day"
2004-03-15Remove trailing whitespace. Update copyright to include 2004.Eric Andersen
2003-03-19Major coreutils update.Manuel Novoa III
2001-12-20Avoid printing a trailing blank character.Matt Kraai
2001-12-11Use an int to hold the result of fgetc (bug noted by David Kimdon).Matt Kraai
2001-11-21Minor space saving improvmentsGlenn L McGrath
2001-11-21When just counting chars of a file stat file instead of reading the whole ↵Glenn L McGrath
file (Fixes Debian bug #103302)
2001-11-21woops. dotn pass NULLGlenn L McGrath
2001-11-21Simplify print function, prints an extra space if no filename, but saves 4 bytesGlenn L McGrath
2001-11-21Use enums for selected functionality, Reduce the size by nearly 100 BytesGlenn L McGrath
2001-03-09A cleanup patch from Jeff Garzik to static-ify a number ofEric Andersen
namespace polluting things that really should be static.
2001-03-09Patchs from Jeff Garzik <jgarzik@mandrakesoft.com> to cleanupEric Andersen
warnings with glibc 2.2 and use always use xfopen -Erik
2001-02-20It turns out that DODMALLOC was broken when I reorganized busybox.hEric Andersen
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
2001-02-14This patch, put together by Manuel Novoa III, is a merge of workEric Andersen
done by Evin Robertson (bug#1105) and work from Manuel to make usage messages occupy less space and simplify how usage messages are displayed.
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