←back to thread

330 points todsacerdoti | 2 comments | | HN request time: 1.107s | source
Show context
plorkyeran ◴[] No.46237424[source]
> grep (global regular expression print), awk (Aho, Weinberger, Kernighan; the creators’ initials), sed (stream editor), cat (concatenate), diff (difference). Even when abbreviated, these names were either functional descriptions or systematic derivations.

If you asked someone unfamiliar with unix tools what they thought each of these commands did, diff is the only one which they would have even the slightest chance of guessing. It's ridiculous to complain about "libsodium" and then hold up "awk" as a good name.

replies(15): >>46237555 #>>46237769 #>>46238238 #>>46238337 #>>46238800 #>>46238821 #>>46238937 #>>46239204 #>>46239290 #>>46240333 #>>46240524 #>>46242479 #>>46243231 #>>46243495 #>>46244061 #
bee_rider ◴[] No.46238337[source]
I’m not sure I like awk, sed, or cat, I think these are just names we’re used to, not good really. diff seems ok.

grep almost has an onomatopoeic nature to it… like, it sounds like you are grabbing or ripping the patterns out of the file, right?

replies(2): >>46240190 #>>46241191 #
squigz ◴[] No.46240190[source]
They're good names because they're short and easily recognizable
replies(1): >>46240503 #
1. lmm ◴[] No.46240503[source]
There are only so many short names to go around.
replies(1): >>46243513 #
2. johnnyanmac ◴[] No.46243513[source]
Well yea. These guys got dibs some 35f years ago or so. Maybe more. First come first served.