address@hidden writes:
> On Fri, 6 Feb 2004 13:05:09 +0100 (MET), Alfred M. Szmidt
> <address@hidden> posted to gmane.comp.gnu.core-utils.bugs:
> > I am sending you a patch to solve a 'problem' at the wc program.
> > When used with -l option (to count the number of lines) the last
> > line isn't counted.
> > It counts occurences of '\n' (i.e. newline). So I guess that the
> > behaviour is correct.
>
> If that's your definition of a line, obviously.
It's POSIX's definition of a line.
Andreas.
--
Andreas Schwab, SuSE Labs, address@hidden
SuSE Linux AG, Maxfeldstraße 5, 90409 Nürnberg, Germany
Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."