I wonder if the author might have thought it was an odd name because "wc" is also used in some English-speaking countries as an abbreviation for "water closet", a synonym for a flush toilet.
Re:On Counting (2017)
by AstralStorm on Thursday May 24, 2018 @06:02AM
(#17142557)
Still oddly named. Why isn't it called count or cnt?
Re:On Counting (2017)
by Ensorceled on Thursday May 24, 2018 @07:04AM
(#17142839)
wc shares an environment with grep, awk, sed and vi; wc is NOT oddly named.
For those interested in the etymology of these:
grep is from the ed command (which itself is short for editor, the original Unix text editor) g/re/p, which Globally searches for a Regular Expression and Prints it.
sed is Stream EDitor.
vi is VIsual editor, which is so named because it's like ed but shows you what you're editing.
Not sure where the name awk comes from.
All of these tools are closely related to the venerable ed(1) command.
Awk is named after its authors at Bell Labs: Aho, Williams, and Kernighan.
Aho, Weinberger, and Kernighan.
You are so right, thank you!
I'm not sure about that - I think you could argue that they're all oddly named.
That's exactly the point of parent comment.
I thought I heard something flying overhead.
also with at, bc, cd, cp, dd, df, du and so on
also - not pointing any fingers - I suspect for the same reason hexadecimal (which programmers shortened to hex) was used over the proper Latin sexadecimal.
Hm, I never realized that hexadecimal mixes the Greek prefix (hexa-) with Latin suffix (-decimal).
However, wouldn't proper Latin be sedecimal?
If I wrote things in sex I’d probably get fired.
I suspect the ability to count things other than words was added later.
To keep with the Unix tradition of short command names, I guess?
`wc` was in 1st edition Unix. It was setting the tradition, not keeping with it!
Re:On Counting (2017)
by wodenokoto on Thursday May 24, 2018 @08:06AM
(#17143143)
And overlap with a common abbreviation that refers to a toilet, WC (water closet)[1]
So yes, it has an odd name, and I'm sure the inventor of the wc command thought it funny.
It’s named after word count.