Re: tr problem



On 12Jun2008 19:47, Patrick O'Callaghan <pocallaghan@xxxxxxxxx> wrote:
| On Thu, 2008-06-12 at 18:53 -0500, Les Mikesell wrote:
| > It reads stdin and writes stdout, like most unix command line programs.
| > The shell will connect those to whatever you want with |'s or
| > <>'s. Using cat with a pipe is a waste of a process, though. tr can
| > read it's own input just as well with <input-filename.
|
| Quite true, but I remember a remark in one of the classic Unix papers to
| the effect that people somehow found the 'cat foo | ' syntax more
| natural.

There's plenty of stuff that's "more natural" that shouldn't be done.
I'd start with snoring and progress from there...
--
Cameron Simpson <cs@xxxxxxxxxx> DoD#743
http://www.cskk.ezoshosting.com/cs/

It's hard to believe that something as rational as the metric system was
invented by the French. - Henry O. Farad <lrc@xxxxxxxxxx>

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list