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

On May 17, 2007, at 4:18 PM, Cameron Kaiser wrote:
Unless you have a specific need for this, why not just use $0, $1, etc.?

In this case the input is going to be an undetermined number of items. It may be 0 or it may be 1,000,000.

I need a way to intelligently move through whatever was input. So just using $0, $1, and so forth wouldn't cut it in this case. Unless there is a way to know how many of those are available and cycling through them that I don't know about, which wouldn't be surprising as my Bash knowledge isn't deep.

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: