Using arrays in bash
- 0
- Add a Comment
Nothing like a little bash work to start off the week, eh? OK, I thought this was a clever way to lead into this whole bit. But I guess it might have just been as well and good had I simply told you that the article below gives you a way to declaring an array. Hey, that rhymes!
Assigning variables in bash is easily done and extremely useful, but like other programming languages, bash can also use arrays. This is particularly handy when you want to read the contents of a file into an array or simply keep your scripts more organized and logical.
There are two ways of declaring an array: [Read the rest]
