LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG-Social] Friday Freetime

[ILUG-Social] Friday Freetime

Kae Verens kverens at contactjuggling.org
Fri Jun 14 14:57:38 IST 2002


Stephen_Reilly at dell.com wrote:
 > # stick it in a script
 > dialog --backtitle "Ireland's World Cup Chances" --title "Choose \
 > Odds" --menu "Ole, Ole, Ole" \
 > 15 50 10 \
 > Slim "Well without Roy ..." \
 > None "Spain are gonna smash us" \
 > "All The Way" "We're all parta Mick's army" 2>/tmp/chosen.$$
 >
 > choice=`cat /tmp/chosen.$$`
 >
 > opt=$?
 >
 > case $choice in
 >     Slim) clear; echo "As much chance as finding\
 >  your arse with both hands"; locate "arse with both hands";;
 >     None) clear; echo "Mail someone who cares"; sleep 3; pine;;
 >     "All The Way") clear; echo "Mine's a Guinness";;
 > esac
 >
 > #steve

looks like it would work only if the locate database was up to date - so
after writing the script, you might need to slocate -u before running it?

what is that language? TCL?

-- 
Kae Verens
http://www.contactjuggling.org/users/kverens/
http://www.contactjuggling.org/ (webmaster)
http://www.independentmix.com/ (tech guru)





More information about the Social mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell