home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The C Users' Group Library 1994 August
/
wc-cdrom-cusersgrouplibrary-1994-08.iso
/
listings
/
v_10_01
/
1001115a
< prev
next >
Wrap
Text File
|
1991-11-22
|
440b
|
21 lines
#!/bin/sh
# Unix script to test return status feature of CMENU
#
cat <<END
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