[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ale] $* equivalent with quotes.
- Subject: [ale] $* equivalent with quotes.
- From: kenry at alexandertech.biz (Ken Alexander)
- Date: Mon, 07 May 2007 07:54:29 -0400
- In-reply-to: <[email protected]>
- References: <[email protected]>
> Message: 1
> Date: Sun, 6 May 2007 11:21:42 -0400
> From: David Corbin <dcorbin at machturtle.com>
> Subject: [ale] $* equivalent with quotes.
> To: ale at ale.org
> Message-ID: <200705061121.42805.dcorbin at machturtle.com>
> Content-Type: text/plain; charset="us-ascii"
>
> Is there bash equivalent to $*, but where each argument is quoted (I think I
> need single quotes, but having an option would be nice). It seems like it's
> really necessary to right complex/robust shell scripts without a lot of
> repetition.
>
>
I think $@ will do what you want. $* returns the list as a single item
seperated by IFS.