[platypus-dev] Re: Using ARGV in a Bash Script

On May 17, 2007, at 4:46 PM, Cameron Kaiser wrote:
You can use shift to iterate through arguments, but with an argument
size that potentially long, a shell language is probably not your best
bet. Have you considered doing it in AppleScript, perl or python?

I was being somewhat sarcastic with my 1,000,000. More likely it will be in the range of 1-20 or so.

How does one use shift to iterate through arguments? I've never seen that done before. I do appreciate the help. :)

Jamie

_______________________________________________________________________
Email: jamie@xxxxxxxxxxx
Homepage: http://www.methnen.com

"And I always go to pieces.  And I have it in my mind, that the sky is
tall and heavy, when I could be brave."
-Karen Peris (Brave)

"I want to find where the maid in the street is pouring her wine,
I heard she takes you in and gives you the words you need said.
If you'll be her brother, she'll kiss you like a sister.
She'll even be your mother, for now."
-Matt Slocum (Sister, Mother)

"And we are drowned."
-Annie Dillard (Tickets For a Prayer Wheel)
_______________________________________________________________________



Other related posts: