bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

doc refinement request: re: definition of "word" in "wc" manpage; BUG re


From: Linda Walsh
Subject: doc refinement request: re: definition of "word" in "wc" manpage; BUG request
Date: Mon, 22 Mar 2010 21:01:48 -0700
User-agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.8.1.24) Gecko/20100228 Lightning/0.9 Thunderbird/2.0.0.24 Mnenhy/0.7.6.666

It appears, upon inspection, that the definition of a 'word' that
"wc" uses is any sequence of non-space characters delimited by a
file or white-space delimiter.

I.e. it doesn't include what some might consider to be, "standard",
(varying, depending on context), characters that could include:
period, comma, other punctuation or even "NULL".  The only characters
that separate words in wc are the set (\f \n \r \t \v <SPACE>).

This is fine and perfect for me, it's just that it isn't documented
explicitly in the wc manpage (or any place I remember reading it) and
necessitated me looking in the source to get an answer.

Could a line as simple as "Words in 'wc' are delimited strictly by
whitespace", or include the characters (\f \n \r \t \v and ' ' (space))?

I.e. can a bug be opened to ensure that change gets in?







reply via email to

[Prev in Thread] Current Thread [Next in Thread]