Around Wed,Oct 23 2002, at 09:06, christopher j bottaro, wrote: > hello, > first off, are there any mailing lists where i can ask questions about bash > scripting? any good mailing list that deal with programming c in linux? > > anyways, i want to assign the exit status of a command in a variable as an > integer. i tried the following: > let x=`./configure --prefix=$1` > but it doesn't work. > Just execute the configure command. $? will hold the exit status.
`./configure --prefix=$1` let x=$? echo $x would print a 0 if succesful, non-zero if not successful Roger -- redhat-list mailing list unsubscribe mailto:redhat-list-request@;redhat.com?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list