aboutsummaryrefslogtreecommitdiff
path: root/coreutils/uniq.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* usage.c: remove reference to busybox.hvda2007-05-261-1/+1
| | | | | | | | *: s/include "busybox.h"/include "libbb.h" git-svn-id: svn://busybox.net/trunk/busybox@18696 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - use skip_non_whitespace() where appropriatealdot2007-04-101-3/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@18379 69ca8d6d-28ef-0310-b511-8ec308f3f277
* uniq: getopt32-ization. -38 bytes.vda2007-03-311-22/+23
| | | | git-svn-id: svn://busybox.net/trunk/busybox@18286 69ca8d6d-28ef-0310-b511-8ec308f3f277
* suppress warnings about easch <applet>_main() havingvda2007-02-031-0/+1
| | | | | | | no preceding prototype git-svn-id: svn://busybox.net/trunk/busybox@17740 69ca8d6d-28ef-0310-b511-8ec308f3f277
* remove bb_printf and the likevda2006-10-261-7/+7
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16446 69ca8d6d-28ef-0310-b511-8ec308f3f277
* bb_get_[chomped]line_from_file wasn't descriptive enough.vda2006-10-121-1/+1
| | | | | | | Renaming... git-svn-id: svn://busybox.net/trunk/busybox@16375 69ca8d6d-28ef-0310-b511-8ec308f3f277
* attempt to regularize atoi mess.vda2006-10-081-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16342 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Remove bb_ prefixes from xfuncs.c (and a few other places), consolidatelandley2006-08-031-5/+2
| | | | | | | | | | | | | things like xasprintf() into xfuncs.c, remove xprint_file_by_name() (it only had one user), clean up lots of #includes... General cleanup pass. What I've been doing for the last couple days. And it conflicts! I've removed httpd.c from this checkin due to somebody else touching that file. It builds for me. I have to catch a bus. (Now you know why I'm looking forward to Mercurial.) git-svn-id: svn://busybox.net/trunk/busybox@15767 69ca8d6d-28ef-0310-b511-8ec308f3f277
* skip_whitespace() shouldn't claim its return value is const, it doesn't knowlandley2006-06-181-4/+2
| | | | | | | that and callers wind up typecasting it back. git-svn-id: svn://busybox.net/trunk/busybox@15420 69ca8d6d-28ef-0310-b511-8ec308f3f277
* * uniq.c: remove unneeded include and use short boilerplate.aldot2005-10-261-15/+1
| | | | | | | | | | | | * coreutils.h: remove prototype of non-existing xgetoptfile_sort_uniq and add boilerplate. * networking/{ipaddr,ip,iplink,iproute,iptunnel}.c: touch includes and use short boilerplate. * libiproute/iproute.c: rename round to avoid clashes with older SuSE gcc and use short boilerplate. git-svn-id: svn://busybox.net/trunk/busybox@11924 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Get rid of warnings, remove compat with older gnu uniq to truly conform to ↵mjn32005-09-151-46/+43
| | | | | | susv3, and cut size a bit. git-svn-id: svn://busybox.net/trunk/busybox@11469 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Rob, I don't know why you feel some unexplainable compulsion to get rid ofmjn32005-09-081-48/+70
| | | | | | | | | | | a meaningless warning. But I do expect you preserve the coding style and variable names when all you're doing is tweaking some of my code. I repeat... do NOT change whitespace, variable names, or coding style in any of my code simply to conform to your coding style. git-svn-id: svn://busybox.net/trunk/busybox@11399 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Don't comment warnings. Don't put #warnings about warnings. _FIX_ warnings.landley2005-09-071-31/+36
| | | | | | | | | | | | This fixes the warning, and makes the binary smaller out of sheer pique. (Yes, since Manuel did this one it's nice tight code that took several attempts to shrink, but I was ticked.) Add the start of a test for uniq; this is about the first 1/3 of the tests we need for full susv3 coverage of uniq. git-svn-id: svn://busybox.net/trunk/busybox@11347 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Whitespace-level changes. Replace s0,s1,e0,e1 with real variable names andlandley2005-09-061-39/+24
| | | | | | | | clean up whitespace and curly brackets a bit. Resulting binary should be identical. git-svn-id: svn://busybox.net/trunk/busybox@11340 69ca8d6d-28ef-0310-b511-8ec308f3f277
* tell people to ignore the dups/e0 warningsvapier2005-07-301-0/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@10980 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fixup some warningsandersen2004-08-281-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@9180 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Major coreutils update.mjn32003-03-191-51/+75
| | | | git-svn-id: svn://busybox.net/trunk/busybox@6751 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Major rework of the directory structure and the entire build system.andersen2001-10-241-3/+2
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@3561 69ca8d6d-28ef-0310-b511-8ec308f3f277
* It turns out that DODMALLOC was broken when I reorganized busybox.handersen2001-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 git-svn-id: svn://busybox.net/trunk/busybox@1864 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix up copyright msgs. Bump version to 0.49 in preparation forandersen2001-01-271-1/+1
| | | | | | | | a release. Update the website with release details. -Erik git-svn-id: svn://busybox.net/trunk/busybox@1697 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix header file usage -- there were many unnecessary header files included inandersen2001-01-271-0/+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 git-svn-id: svn://busybox.net/trunk/busybox@1695 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Matt Kraai to implement uniq -[cdu]andersen2000-12-091-7/+38
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1409 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Rewrote uniq to be less than a third of the size, and fixed some otherkraai2000-09-271-143/+17
| | | | | | | minor problems. git-svn-id: svn://busybox.net/trunk/busybox@1135 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Renamed "internal.h" to the more sensible "busybox.h".andersen2000-09-251-2/+2
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@1119 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Extract usage information into a separate file.kraai2000-07-161-9/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@864 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Use errorMsg rather than fprintf.kraai2000-07-141-3/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@848 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Updates to a number of apps to remove warnings/compile errors under libc5.andersen2000-06-191-2/+2
| | | | | | | | 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-4/+7
| | | | | | | | | | | 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-10/+4
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@467 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Upates to include copyright 2000 to everythingerik2000-04-131-2/+2
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@447 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Some formatting updates (ran the code through indent)erik2000-02-081-114/+111
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@357 69ca8d6d-28ef-0310-b511-8ec308f3f277
* A few minor updates. ;-)erik2000-02-071-1/+1
| | | | | | | | | Seriously though, read the Changelog for busybox 0.42, which this is about to become... -Erik git-svn-id: svn://busybox.net/trunk/busybox@351 69ca8d6d-28ef-0310-b511-8ec308f3f277
* * added (and documented) "-n" option for head -erik2000-01-231-2/+2
| | | | | | | | | | 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
* added uniq_usage messagebeppu2000-01-071-2/+9
| | | | git-svn-id: svn://busybox.net/trunk/busybox@285 69ca8d6d-28ef-0310-b511-8ec308f3f277
* did tedious stuffbeppu2000-01-061-15/+46
| | | | git-svn-id: svn://busybox.net/trunk/busybox@284 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Cool. Beppu is doing uniq.erik2000-01-061-2/+3
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@281 69ca8d6d-28ef-0310-b511-8ec308f3f277
* i am busybox of borg. unix will be assimilated.beppu2000-01-061-0/+157
git-svn-id: svn://busybox.net/trunk/busybox@280 69ca8d6d-28ef-0310-b511-8ec308f3f277