News for hackers. Stuff that matters.
Re:A Unix Shell poster from 1983 by TeMPOraL on Monday October 15, 2018 @04:26AM (#18218216)
So the "improper" use of cat, for printing files on screen, dates back to at least 1983. I consider it legitimized.
Re:A Unix Shell poster from 1983 by oblio on Monday October 15, 2018 @06:28AM (#18218650)
I never liked this "improper" moniker.

If you're writing a quick script it's way more convenient and readable to just put the input where you'd expect it, at the start of the pipeline, as its own thing. It's a bit more inefficient, but you don't go mucking around with file input parameters for the commands later on in the pipeline, especially as you're moving them around and changing them.

Re:A Unix Shell poster from 1983 by dijit on Monday October 15, 2018 @05:21AM (#18218406)
Cat is fine for reading a file. It’s when you ‘cat <file> | grep <word>‘ that it becomes improper use.
Re:A Unix Shell poster from 1983 by JdeBP on Monday October 15, 2018 @07:00AM (#18218753)
TeMPOraL got the adjective wrong. The correct adjective is "useless".

* http://porkmail.org/era/unix/award.html