View Single Post
  #4  
Old 1st July 2008, 15:27
burschik burschik is offline
Junior Member
 
Join Date: May 2008
Posts: 24
Thanks: 0
Thanked 2 Times in 2 Posts
Default

Try the Advanced Bash Scripting Guide at http://tldp.org/LDP/abs/html/

You need to understand that "choice" is an array variable. For this reason, "$choice" only returns the first element of the array. You need to iterate over all array elements.
Reply With Quote