Merci!
On 06/19/01, 11:45:05PM -0400, Brendan Cully wrote:
> On Tuesday, 19 June 2001 at 23:40, John P. Verel wrote:
> > Hi, Brendan.
> > 
> > Thanks for a cool script!  Its beauty is what is accomplished in just 5
> > lines!  Two questions, though, if I may?
> > 
> > What is the purpose of the sleep command?
> 
> that was so the cp in the background process was sure to finish before
> the script returned and mutt unlinked the master file. But looking at
> it, this is a better way of doing it (and shorter too):
> 
> #!/bin/sh
> cp $2 $2.tmp
> ($1 $2.tmp; rm -f $2.tmp) &
> 
> > Any special reason for calling this as a Bourne shell and not Bash?
> 
> no.

-- 
John P. Verel
Norwalk, CT

Reply via email to