On Wed, 2002-10-23 at 16:57, Jason Brechin wrote: > > * test_cluster_as_root reports everything its OK but test_cluster fail > > in the comparison of: > > grep "$grep_string" $output_file.out > /dev/null > > string_test=$? <--- but it have always 1 > > if [$string_test=0] ; then > > First, $? is not always 1. If it is 1, then the grep succeeded,
Sorry... got things backwards... if it's 1, then the grep failed, but it doesn't always... Jason ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0002en _______________________________________________ Oscar-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/oscar-users
