To get the effect of "NOT function-result" in the Bourne shell you can: some_command if [ ! $? -eq 0 ] then ... fi $? is assigned the result of the last command. -- Michael Coulter ...ucbvax!hplabs!coulter