freebsd-skq/usr.bin/wc
Conrad Meyer 84b851c23f wc(1): Fix 'wc -L'
I inadvertently broke 'wc -L' in r326736.  We must skip the fast path if -L
was specified, in addition to the existing check for the -l option.

Document long-standing -L behavior (count varies depending on whether wc(1)
is run with the -m option or not) in wc.1.  That behavior dates back to the
introduction of the -L option, but was not documented.

PR:		230300
Reported by:	<amstrnad+bugzilla AT gmail.com>
Sponsored by:	Dell EMC Isilon
2018-08-02 23:45:14 +00:00
..
Makefile Make libxo depend on libutil because it uses humanize_number after r287111 2015-10-18 07:30:50 +00:00
Makefile.depend DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
wc.1 wc(1): Fix 'wc -L' 2018-08-02 23:45:14 +00:00
wc.c wc(1): Fix 'wc -L' 2018-08-02 23:45:14 +00:00