while [ $? -ne 0 -a $retry -gt 0 ] do ... done should do the work
Am Montag 05 November 2007 07:03 schrieb Olivier Nicole: > Hi, > > I am a lame Bourne sheel programmer, how to write: > > while [ ( $? -ne 0 ) -a ( $retry -gt 0 ) ] ; do > > that should execute as long as $? is not null and $retry is greater > than 0? > > TIA, > > Olivier > _______________________________________________ > [email protected] mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "[EMAIL PROTECTED]"
pgprwqoiKJ4BN.pgp
Description: PGP signature
