summaryrefslogtreecommitdiff
path: root/usr.bin/paste
AgeCommit message (Collapse)Author
2000-06-07Check return value of malloc(). Also make the code clearer with respect toAaron Campbell
setting lbuf = NULL; millert@ ok
2000-03-10Various cleanups and standardization.Aaron Campbell
1999-08-24better fix; now if the last line in a file stream does not contain a newline,Aaron Campbell
construct a null-terminated copy of the buffer returned by fgetln() and process it as normal
1999-08-23fgets() -> fgetln(). When reading files like this, the notion of a `line' isAaron Campbell
more appropriate than C strings. Now paste won't die if it encounters null characters. If the last line in the stream does not contain a newline, we now say "incomplete line" instead of lying about "line too long". fgetln() uses realloc, so now we're not limited to POSIX_LINE_MAX.
1999-06-05- remove trailing white spaceAaron Campbell
- remove arguments from .Os macros - remove arguments from .Nm macros, where appropriate - some more Dq/Sq/Ql insanity - still lots to do in the usr.bin tree... :/
1998-11-16more -WallTheo de Raadt
1998-09-27usr.bin/ man page cleanups, n-sAaron Campbell
1997-01-17r?index -> strr?chrTodd C. Miller
1997-01-15getopt(3) returns -1 when out of args, not EOF, whee!Todd C. Miller
1996-06-26rcsidTheo de Raadt
1995-10-18initial import of NetBSD treeTheo de Raadt