This is the mail archive of the cygwin-talk mailing list for the cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: bash scripting nightmare.


Dave Korn wrote:
On 10 August 2006 20:49, mwoehlke wrote:


[snip examples]
It sounds like you want to read up on arrays and "$@" (quotes included).

Does that help?

I haven't had time to try it yet, but yes, I'm sure that'll do the trick. Thanks a bundle for the hints!

Glad to help!


(If you don't need the arrays, you can still be portable, too; I'm fairly sure "$@" is required by POSIX which means even most of the cruddy shells should support it. At any rate, I know *we* use it in portable scripts, and we run into a lot of cruddy shells :-).)

--
Matthew
vIMprove your life! Now on version 7!


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]