Category : Files from Magazines
Archive   : CUJ9201.ZIP
Filename : 1001115A

 
Output of file : 1001115A contained in archive : CUJ9201.ZIP

#!/bin/sh
# Unix script to test return status feature of CMENU
#

cat < This is test.sh running, to test the error status
feature of the CMENU system.

If you type 'e' to return an error status, rmenu should
prompt before returning to the menu. Otherwise, no prompt
should appear issued:

Press just return for normal exit,
or else press 'e' and then the Return key:
END

read char
[ "$char" = e ] && exit 1
exit 0