Commit Graph

9 Commits

Author SHA1 Message Date
andrew
cfe33803b1 Fixed problems with wc -c when reading from stdin. 1994-01-03 03:11:06 +00:00
jtc
83efb17c8e Checkin minor tweaks before giving a copy to the FreeBSD folks. 1993-11-04 05:43:30 +00:00
jtc
029a63116f Streamline the char/word/line counting logic in anticipation of multibyte
character support.
1993-10-12 23:32:20 +00:00
jtc
a3d7805594 Like cat, set the return-value variable "rval" instead of exiting when
we encounter run-time errors.
Update usage message.
1993-10-12 22:39:43 +00:00
jtc
f7c6bf575a Minor tweaks: including header files to bring prototypes into scope,
explicitly declaring function return values, etc. to make gcc -Wall
shut up.
1993-08-27 22:30:10 +00:00
jtc
e4e27724a6 Make wc 1003.2-1992 compliant by adding -m option (currently a noop, as
we don't support multibyte chars).
Remove blatant lie from manpage: the order of the output is, and always
has been, fixed.  The order of the command line arguments makes no difference.
1993-08-17 00:37:10 +00:00
mycroft
e9d867ef50 Add RCS identifiers. 1993-08-01 17:54:45 +00:00
jtc
0264064592 Update to POSIX 1003.2 (D11.2) compliance.
Make error messages print leading "wc: ", so we know what program is
complaining when we're writing shell scripts.
Simplify argument parsing and total printing.
1993-07-15 21:05:12 +00:00
cgd
61f282557f initial import of 386bsd-0.1 sources 1993-03-21 09:45:37 +00:00