1

PS3 and SELECT, is it possible to put a line break?

view story
linux-howto

http://www.unix.com – Hi all, Before I give up on using SELECT for my first attempt at creating a menu driven script, can anyone please advise if it is possible to include a line break for PS3, I've tried putting in a \n and it does not work. Tried for both bash and ksh and both gives the same result. Preference is to use ksh. Code: menu_main1() {   PS3="\n ::  Please choose a VALID option : "   echo ""   echo ""   select choice_main in "Generic SA" "Refresh Tasks" "Others" "Exit"   do     (HowTos)