>>>>> "Andrew" == Andrew Gaffney <[EMAIL PROTECTED]> writes:
Andrew> It works for me. That's the way I'd seen it done when I was learning Andrew> bash. I believe the while checks the return value, not the output of Andrew> the command. That's a bash-ism then, not The One True Shell. I was using The One True Shell in 1980. :) -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 <merlyn@stonehenge.com> <URL:http://www.stonehenge.com/merlyn/> Perl/Unix/security consulting, Technical writing, Comedy, etc. etc. See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training! -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>