Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | KNF | 2018-07-31 | 1 | -2/+2 | |
| | |||||
* | Avoid comparing equal lines twice when running without -i. | 2017-12-24 | 1 | -2/+2 | |
| | | | | From kshe, ok jca | ||||
* | Add an -i option for case insensitive comparison of lines. | 2017-12-21 | 1 | -5/+8 | |
| | | | | | | From Claus Assmann with minor tweaks by me. ok millert | ||||
* | UTF-8 support: | 2015-12-19 | 1 | -7/+28 | |
| | | | | | | Let -f recognize non-ASCII blank characters and let -s count characters rather than bytes. OK zhuk@ bentley@ | ||||
* | Cast isdigit()'s argument to an unsigned char. | 2015-11-02 | 1 | -2/+2 | |
| | | | | ok millert@, jca@ | ||||
* | Change all tame callers to namechange to pledge(2). | 2015-10-09 | 1 | -5/+5 | |
| | |||||
* | Repair tame() error check to be == -1 | 2015-10-04 | 1 | -2/+2 | |
| | |||||
* | uniq has a complicated initialization around getopt. beforehands, we | 2015-10-03 | 1 | -1/+7 | |
| | | | | | | | can tame "stdio rpath wpath cpath"; all three paths abilities are needed for it to setup the right files (worst case spotted by sthen). later once the files are opened, the program is only looking at strings and outputing via stdio functions, so we can tame "stdio". | ||||
* | unsigned char casts for ctype | 2013-11-26 | 1 | -3/+3 | |
| | | | | ok okan | ||||
* | rcsid[] and sccsid[] and copyright[] are essentially unmaintained (and | 2009-10-27 | 1 | -14/+1 | |
| | | | | | | | unmaintainable). these days, people use source. these id's do not provide any benefit, and do hurt the small install media (the 33,000 line diff is essentially mechanical) ok with the idea millert, ok dms | ||||
* | Mention that -cd and -cu are possible, and that it's an extension to POSIX. | 2007-11-11 | 1 | -3/+3 | |
| | | | | | | discussed with jmc and otto ok jmc | ||||
* | Allow -c in conjunction with -d (and -u). | 2007-11-09 | 1 | -24/+20 | |
| | | | | | | | | | | If field skipping is active, don't skip beyond the last non-blank of a field, and use isblank() instead of isspace() -- POSIX states that the longest string matching [[:blank:]]*[^[:blank:]]* makes up a field. Don't skip over trailing newlines. Help, testing and ok millert@ | ||||
* | Stylistic changes initially from Thordur I. Bjornsson, more cleanup | 2006-04-07 | 1 | -22/+34 | |
| | | | | | | and delinting from me. OK otto@ and jaredy@ | ||||
* | Remove the advertising clause in the UCB license which Berkeley | 2003-06-03 | 1 | -7/+3 | |
| | | | | rescinded 22 July 1999. Proofed by myself and Theo. | ||||
* | strlcpy whack; miod ok | 2003-04-05 | 1 | -5/+5 | |
| | |||||
* | Treat a file name of "-" as either stdin or stdout, depending on position. | 2002-12-08 | 1 | -2/+4 | |
| | |||||
* | No need to try and catch "--" by hand, getopt() does it for us. | 2002-12-08 | 1 | -7/+4 | |
| | |||||
* | ansi | 2002-07-13 | 1 | -16/+9 | |
| | |||||
* | Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically. | 2002-02-16 | 1 | -7/+7 | |
| | |||||
* | kill more registers | 2001-11-19 | 1 | -5/+5 | |
| | | | | millert@ ok | ||||
* | first pass at a -Wall cleanup | 2001-07-12 | 1 | -3/+3 | |
| | |||||
* | warnx?/errx? paranoia (use "%s" not a bare string unless it is a | 2000-06-30 | 1 | -3/+3 | |
| | | | | | | | | | constant). These are not security holes but it is worth fixing them anyway both for robustness and so folks looking for examples in the tree are not misled into doing something potentially dangerous. Furthermore, it is a bad idea to assume that pathnames will not include '%' in them and that error routines don't return strings with '%' in them (especially in light of the possibility of locales). | ||||
* | use err(3) | 1997-07-25 | 1 | -37/+8 | |
| | |||||
* | #if __STDC__ --> #ifdef __STDC__ | 1997-07-25 | 1 | -5/+5 | |
| | |||||
* | getopt(3) returns -1 when out of args, not EOF, whee! | 1997-01-15 | 1 | -3/+3 | |
| | |||||
* | rcsid | 1996-06-26 | 1 | -1/+2 | |
| | |||||
* | initial import of NetBSD tree | 1995-10-18 | 1 | -0/+281 | |