by shorter · 14y ago · 0 comments
Do they mean the same thing?
As for cat, the utility, I'm afraid we'll never stop seeing people doing
cat file|prog1|prog2
even when it makes absolutely no sense whatsoever.If it did, I might as well do
cat file|cat|prog|cat|prog2|cat -
I mean, why not? It "looks nicer" than prog file|prog2 or
prog < file|prog2
Programmers love their cats.Besides, ken & Co. aren't daft. con would be short for concatenate. :-)
See: http://man.cat-v.org/unix-1st/1/cat http://man.cat-v.org/unix-6th/1/cat
I'm pretty sure based on the timeline of pipe (~1973, roughly V4) that the cat command (~1971 V1) predates pipes.