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 - OSX Mac Processor CPU DetailsOSX system volume (sound) GET / SET via Terminal / bashbash - awk with colored outputbash combine pdf or other image files into pdfbash - wavecache.wfm removalbash NULL DEVICE - redirecting output & errorsbash mkdir -p for recursive subdirectory creationBASH y/n select - on user inputbash OSX iTerm2 - display inline images in terminal