Hi,
On 2011-07-13 09:28:55 +0200, Benoît Knecht wrote:
> Well I prefer not using abreviations in documentation (char ->
> character, max -> maximum); of course, those are obvious, but I think
> it's in general better to use plain words. As for line vs. newline, I
> have no preference, I simply used the term from the first part of the
> description (for the same reason, I used the singular form, as in
> "newline count").
"line" would be incorrect if the last line doesn't end with a newline
character. One may wonder whether this is really a line, but according
to wc's -L option, it is:
$ echo -n abc | wc -l -L
0 3
Since wc outputs 3 for the "the length of the longest line", then
this means that "abc" (without a newline character) is a line. Thus
the line count is 1 and the newline count is 0.
Regards,
--
Vincent Lefèvre <[email protected]> - Web: <http://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / Arénaire project (LIP, ENS-Lyon)