Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: scripting problem: vi and multiple arguments
- X-seq: zsh-users 1923
- From: Jason Price <gt5076c@xxxxxxxxxxxxxx>
- To: zsh-users@xxxxxxxxxxxxxxx
- Subject: Re: scripting problem: vi and multiple arguments
- Date: 04 Nov 1998 16:08:50 -0500
- In-reply-to: "Michael Barnes"'s message of "Wed, 4 Nov 1998 15:43:58 -0500"
- References: <kihfwfi4sx.fsf@xxxxxxxxxxxxxxxxxxxx> <19981104154358.A1563@xxxxxxxxxxxxxxxxxxx>
"Michael Barnes" <mibarnes@xxxxxx> writes:
> use $EDFILES as an array, im not sure how that gets set but do something
> like
>
> EDFILES=(*.c)
> EDFILES=($EDFILES *.h)
> then
>
> vi $EDFILES
Thanks... That's exactly what I needed.
I went from building EDIFLES (in the loop) like:
EDFILES=`echo "$EDFILES $i"`
to
EDFILES=($EDFILES $i)
and everything became golden.
Thanks again;
Jason
--
"Where will I go?" "Somewhere where they know nothing about computing...
Where they wouldn't know a RAM chip from a potato chip!"
"But I don't want to visit Microsoft!" --the PFY and the BOFH
Jason Price jprice@xxxxxxxxxx Theta Xi, Beta Alpha 449
Messages sorted by:
Reverse Date,
Date,
Thread,
Author