Bash Tips - 18 (Extra auxiliary Bash tips)
Arrays in Bash
This is the third of a small group of shows on the subject of arrays in Bash. It is also the eighteenth show in the Bash Tips sub-series.
In the last show we looked at ways of accessing elements with negative indices and how to concatenate arrays. We then launched into parameter expansion in the context of arrays.
There are a few more parameter expansion operations to look at in this episode, then in the next episode we will look in more depth at the
declare built in command and at some of the commands that assist with loading data into arrays.
I have provided detailed notes as usual for this episode, and these can be viewed here.
- Linux Documentation Project: Advanced Bash-Scripting Guide
- Previous episodes under the heading Bash Tips:
- HPR episode 1648 “Bash parameter manipulation”
- HPR episode 1843 “Some Bash tips”
- HPR episode 1884 “Some more Bash tips”
- HPR episode 1903 “Some further Bash tips”
- HPR episode 1951 “Some additional Bash tips”
- HPR episode 2045 “Some other Bash tips”
- HPR episode 2278 “Some supplementary Bash tips”
- HPR episode 2293 “More supplementary Bash tips”
- HPR episode 2639 “Some ancillary Bash tips - 9”
- HPR episode 2649 “More ancillary Bash tips - 10”
- HPR episode 2659 “Further ancillary Bash tips - 11”
- HPR episode 2669 “Additional ancillary Bash tips - 12”
- HPR episode 2679 “Extra ancillary Bash tips - 13”
- HPR episode 2689 “Bash Tips - 14 (Some auxiliary Bash tips)”
- HPR episode 2699 “Bash Tips - 15 (More auxiliary Bash tips)”
- HPR episode 2709 “Bash Tips - 16 (Further auxiliary Bash tips)”
- HPR episode 2719 “Bash Tips - 17 (Additional auxiliary Bash tips)”