Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Blog | Linux Links | Bling | About BLU

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bash if file exists



 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 
[hidden email] 
http://www.code-energy.com/



-- 
This message has been scanned for viruses and 
dangerous content by MailScanner, and is 
believed to be clean. 

_______________________________________________ 
Discuss mailing list 
[hidden email] 
http://lists.blu.org/mailman/listinfo/discuss
 


BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org