Commit Graph

14 Commits

Author SHA1 Message Date
sin 0c5b7b9155 Stop using EXIT_{SUCCESS,FAILURE} 2014-10-02 23:46:59 +01:00
sin 5df631ac09 Use /dev/fd/0 as opposed to /dev/stdin 2014-07-04 23:14:26 +01:00
sin 5dc02f757b Add support for '-' to cat
This chunk will need to be librarified at some point.
2014-07-04 16:52:27 +01:00
dwts b700d5a8ed minor style changes 2014-04-22 13:46:19 +01:00
sin b8edf3b4ee Add weprintf() and replace fprintf(stderr, ...) calls
There is still some programs left to be updated for this.

Many of these programs would stop on the first file that they
could not open.
2013-11-13 11:41:43 +00:00
sin b5a511dacf Exit with EXIT_SUCCESS/EXIT_FAILURE instead of 0 and 1
Fixed for consistency purposes.
2013-10-07 16:44:22 +01:00
sin 7182076473 Add a usage() function like everywhere else 2013-10-07 16:09:14 +01:00
Christoph Lohmann f8dc6883a3 Style inquistion for util and some tools. 2013-03-05 21:46:48 +01:00
Connor Lane Smith 171ef71c74 cat: ARGBEGIN 2012-05-31 19:38:18 +01:00
Connor Lane Smith bf9626d408 add tail 2011-05-26 16:18:42 -01:00
Connor Lane Smith f458397d5a no, getopt.h is gnu specific 2011-05-24 18:58:36 +01:00
pancake da547fb294 add missing #include <getopt.h>
do not override CC in config.mk
2011-05-24 14:34:26 +02:00
Connor Lane Smith 4c6c379812 handle -- 2011-05-24 11:05:36 +01:00
Connor Lane Smith 8e26716a5a initial commit 2011-05-23 02:36:34 +01:00