3 ms·
> “ Write programs that handle text streams, because that is a universal interface.” —Douglas McIlroy Its difficult to pinpoint a single origin of “everything
by dijit 2y ago
> “ Write programs that handle text streams, because that is a universal interface.”
—Douglas McIlroy
Its difficult to pinpoint a single origin of “everything is a file”, but its referenced in Kernighans memoirs, which is a good read: https://www.cs.princeton.edu/~bwk/memoir.html https://www.cs.princeton.edu/~bwk/memoir.html
- gf000 2y agoYeah, such a tool will be definitely stable and portable! Until you change the locale and the whole thing breaks apart, with no error message whatsoever.. Also, not even Linux believed in "everything is a file". Everything is either a file or a stream. The two is not the same.
- dijit 2y agoThe parent asked a specific question so I gave an answer. If you disagree that text streams are a good universal medium then thats totally valid, but then perhaps don’t use a unix-like and go for something like VMS, VAX or Windows.