> > Or more commonly:
> > 
> >         while :; do
> >                 ...
> >         done
> > 
> > because the ":" command is true.
> 
> It works for me. That's the way I'd seen it done when I was 
> learning bash. I 
> believe the while checks the return value, not the output of 
> the command.

Just be thankful you didn't use 'cat' uselessly.

There is definitely no reason to use a separate command just for a true
value in a while loop.

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to