||10-05-2009 08:58 PM
BASH --> esc key in a case statement
This is just an example... I would like it when I press "esc" "^]" to exit and run my leavin function. But it only is printing the esc charcter on the screen. Still a novice and I can't find info on the ABS guide.
echo -e "This script is used to copy all the PKGBUILDS needed into a build
directory of choice\n
This portion of print is a test"
case $key in
*) abscopy ;;
255) leavin ;;
Its been awhile since I have been scripting... Though I can get the escape character to work with a dialog box...