AP DS TECH bash – iterating over a string array ~~ April 25, 2020 123456789101112131415#declare -a myArrayList=( myArrayList=( # NEW ENTRIES BELOW THIS LINE Judy Bob "Adam Smith" Bonnie # NEW ENTRIES ABOVE THIS LINE ) ## IF YOU HAVE SPACES IN THE ITEMS - THE ITEM NEEDS TO BE QUOTED for item in "${myArrayList[@]}"; do echo $item done Related Posts:bash - awk with colored outputbash: for - looping to repeat commandsOSX system volume (sound) GET / SET via Terminal / bashOSX review login items via bash+applescriptBASH snippet - clean up stereo pairs and sort by…bash - wavecache.wfm removalbash mkdir -p for recursive subdirectory creationBitBar - OSX custom menu bar - running #!/bin/bash.DS_Store - BASH shell - Linux/OSX = Find & Remove Files