View Single Post
Old Feb 17th, 2007, 11:19 AM   #3
Silicon_Pudding
Newbie
 
Silicon_Pudding's Avatar
 
Join Date: Jun 2006
Location: In a box
Posts: 27
Rep Power: 0 Silicon_Pudding is on a distinguished road
yes. i'm using bash.

I want to read in multiple arguments of unknown length.

I found one way that uses a loop with the argument count $#, then uses a case statement to evaluate $1, and then shifts the arguments over to look at the next one.

I was just wondering if there were other methods.
__________________
~ Silicon Enhanced Pudding
"It's magically delicious"
Silicon_Pudding is offline   Reply With Quote