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:.DS_Store - BASH shell - Linux/OSX = Find & Remove FilesBash Substring Matching within Stringbash NULL DEVICE - redirecting output & errorsbash: for - looping over and processing files in…bash: for - looping to repeat commandsBASH y/n select - on user inputbash OSX iTerm2 - display inline images in terminalbash - du to get space used by directoryBitBar - OSX custom menu bar - running #!/bin/bash