tr problem

Cameron Simpson cs at zip.com.au
Fri Jun 13 00:25:47 UTC 2008


On 12Jun2008 19:47, Patrick O'Callaghan <pocallaghan at gmail.com> 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 at zip.com.au> 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 at netcom.COM>




More information about the fedora-list mailing list