News for hackers. Stuff that matters.
Re:In Unix, what do some obscurely named commands stand for?... by dx87 on Wednesday September 09, 2020 @11:05AM (#24421828)
I'd heard of concatenate, but never catenate. I guess concatenate is a verb, and catenate is an adjective.
Re:In Unix, what do some obscurely named commands stand for?... by AdmiralAsshat on Wednesday September 09, 2020 @11:27AM (#24422072)
"Concatenate" seems redundant to me, as the Latin prefix "con" means "together" and the root "caten" is a chain. So technically it's "chain together", but a chain is already a thing that is linked together.

My Latin is rusty, but IIRC "con" can optionally just be added for emphasis, e.g. "iacere": to throw, but "conicere":to hurl. Maybe that's what was done here.

Re:In Unix, what do some obscurely named commands stand for?... by i_am_programmer on Wednesday September 09, 2020 @11:39AM (#24422195)
Links in a chain are already together. You absolutely can chain 2 things together that are not the chain itself. Where chain is used as a verb to describe the tying of things together. Saying chain together absolutely makes sence. Example "His ankles were chained together".
Re:In Unix, what do some obscurely named commands stand for?... by mprovost on Wednesday September 09, 2020 @12:56PM (#24423003)
I thought maybe they chose "cat"enate to avoid a naming clash with a "con" command but looking back through the early Unix sources there doesn't appear to have been one.
Re:In Unix, what do some obscurely named commands stand for?... by comfydragon on Wednesday September 09, 2020 @03:08PM (#24424611)
Maybe it was to avoid confusion with Lisp's "cons" which conventionally (or always? It's been a while...) adds to the head of a list, whereas "cat" is a bit closer to adding to the tail. This is pure speculation on my part.