Need help on Bash syntax
Brad Appleton
brad at SSD.CSD.HARRIS.COM
Thu Sep 6 06:46:51 AEST 1990
Ive been trying to get an answer to this for weeks. I hope someone in this
newsgroup will come through for me!!!!
I need to know everything about bash arrays (assuming they exist).
how does one do the following in bash (if possible):
1) set an array
2) unset an array
3) index an array (get a particular element)
4) modify an array element
5) index a subset of elements (like $argv[3-5] in csh)
6) modify a subset of elements
are there any other subtleties (like "set -A" versus "set +A" in ksh)?
Im getting desperate for this info -- please give me as much info as you
can on bash arrays.
Also, in bash, what characters need to be escaped inside of double
quotes (including "\", '$' and '`' etc ...) in order to interpreted
literally by the shell (I need an exhaustive list).
I have somewhat of a time limit and I cant wait long enough for the
documentation to arrive (and no one here has it).
Any and all help is much appreciated!!!!!!
______________________ "And miles to go before I sleep." ______________________
Brad Appleton brad at travis.ssd.csd.harris.com Harris Computer Systems
...!uunet!hcx1!brad Fort Lauderdale, FL USA
~~~~~~~~~~~~~~~~~~~~ Disclaimer: I said it, not my company! ~~~~~~~~~~~~~~~~~~~
More information about the Comp.unix.shell
mailing list