summaryrefslogtreecommitdiff
path: root/usr.bin/cut/cut.c
AgeCommit message (Collapse)Author
2000-06-04Handle the case where the last line of input does not contain a newline; issueAaron Campbell
reported by marc@snafu.org. The main thing here is we use fgetln() instead of fgets(), also giving us the advantage of being able to handle lines of unlimited length. Some -Wall and other fixes from millert@ as well.
1998-11-28use strsep() instead of strtok(), in particular to avoid an infinite loopAaron Campbell
1997-11-05sync usage to man pageTheo de Raadt
1997-09-12Kill extra newline in err()/warn().Todd 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