linux:bash_array_loop_over_items
#!/bin/bash # # Declare array # items=( item1 item2 item3 ) # # Loop over array and do stuff # for i in "${items[@]}" ; do echo $i done
linux/bash_array_loop_over_items.txt · Last modified: 12/01/2024 14:59 by Allan