Shell Array: Create and Use Bash Arrays
Passing a group of values through a shell script calls for a way to store them together. Bash arrays hold multiple values under one variable, with each value available as an array element. This article walks through creating Bash arrays and iterating over their values without splitting entries that contain spaces. TL;DR: Bash arrays keep
Shell Array: Create and Use Bash Arrays Read More »