#!/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