Bret Hughes wrote: > the following should work: > > #!/bin/bash > if [ `rdate -s timeserver` ] ; then # make sure these are backquotes > echo Success > else > echo Failure > fi That worked! Thanks, -- Anthony E. Greene <[EMAIL PROTECTED]> <http://www.pobox.com/~agreene/> PGP Key: 0x6C94239D/7B3D BD7D 7D91 1B44 BA26 C484 A42A 60DD 6C94 239D Linux: The choice of a GNU generation. <http://www.linux.org/> -- To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject.
- bash/rdate exit code mystery Anthony E. Greene
- Re: bash/rdate exit code mystery Hal Burgiss
- Re: bash/rdate exit code mystery Bret Hughes
- Anthony E. Greene