<pre>
if $(_lastrc) EQ 0
echo "The command ran correctly."
else
echo "Check for error or warning messages."
end
echo ""
if <"$(_existdir)" EQ "yes">
echo "The directory exists."
end
if <"$(_existdir)" EQ "no">
echo "The directory does not exist."
end
if <"$(_existdir)" EQ "error">
echo "A file or system error occurred."
end
if <"$(_existdir)" EQ "">
echo "A command error occurred."
end
</pre>
|