4 ms·
wc shares an environment with grep, awk, sed and vi; wc is NOT oddly named.
by Ensorceled 8y ago
wc shares an environment with grep, awk, sed and vi; wc is NOT oddly named.
- tpm 8y agoalso with at, bc, cd, cp, dd, df, du and so on
- pgl 8y agoI'm not sure about that - I think you could argue that they're all oddly named.
- Sir_Cmpwn 8y agoFor 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.