[platypus-dev] Re: Using ARGV in a Bash Script
- From: Cameron Kaiser <spectre@xxxxxxxxxxxx>
- To: platypus-dev@xxxxxxxxxxxxx
- Date: Thu, 17 May 2007 16:18:58 -0700 (PDT)
> How would one use the ARGV array within a bas script?
>
> I suspect I'm doing something wrong in a very basic way. But it
> would be my understanding that something like this:
>
> echo "${ARGV[0]}"
>
> Would return the first value in the ARGV array. Instead I get an
> empty space.
Unless you have a specific need for this, why not just use $0, $1, etc.?
--
------------------------------------ personal: http://www.cameronkaiser.com/ --
Cameron Kaiser * Floodgap Systems * www.floodgap.com * ckaiser@xxxxxxxxxxxx
-- Murphy's Law is recursive. Washing your car to make it rain doesn't work. --
- Follow-Ups:
- [platypus-dev] Re: Using ARGV in a Bash Script
- From: Methnen (AKA Jamie)
- References:
- [platypus-dev] Using ARGV in a Bash Script
- From: Methnen (AKA Jamie)
Other related posts:
- » [platypus-dev] Using ARGV in a Bash Script
- » [platypus-dev] Re: Using ARGV in a Bash Script
- » [platypus-dev] Re: Using ARGV in a Bash Script
- » [platypus-dev] Re: Using ARGV in a Bash Script
- » [platypus-dev] Re: Using ARGV in a Bash Script
- » [platypus-dev] Re: Using ARGV in a Bash Script
- » [platypus-dev] Re: Using ARGV in a Bash Script
- [platypus-dev] Re: Using ARGV in a Bash Script
- From: Methnen (AKA Jamie)
- [platypus-dev] Using ARGV in a Bash Script
- From: Methnen (AKA Jamie)