bash if file exists
Cole Tuininga
colet at code-energy.com
Fri Apr 4 07:09:01 EDT 2008
On Thu, 2008-04-03 at 22:26 -0400, Tom Metro wrote:
> Cole Tuininga wrote:
> > I believe that using "echo" instead, would not have such a problem.
>
> I don't see why. It still depends on passing an argument, which the
> shell expands, on the command line.
My (possibly incorrect) thought was that, as "echo" is a shell builtin
(depending on the shell of course), this portion of the command would be
executed within the context of the shell rather than forking off an
external process and trying to pass a list of arguments that was too
long.
--
A: Because it messes up the order in which people normally read text.
> Q: Why is top-posting such a bad thing?
>> A: Top-posting.
>>> Q: What is the most annoying thing on Usenet and in e-mail?
Cole Tuininga
colet at code-energy.com
http://www.code-energy.com/
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
More information about the Discuss
mailing list