procmail
[Top] [All Lists]

Re: echo vs. cat

1997-10-06 02:33:41
On Thursday 2 October 97, at 11 h 29, the keyboard of Philip Guenther 
<guenther(_at_)gac(_dot_)edu> wrote:

In most current Bourne shell implementations, echo is a builtin.

In tcsh (a C-shell with a lot of new features), too.

tcsh> which echo
echo: shell built-in command.

The main problem I see with the use of cat is "what happens when you 
forget the file or destroy it ?". I suggest to, at least, test that the 
file is readable before cating it.


<Prev in Thread] Current Thread [Next in Thread>