#!/bin/bash
items=(
"A"
"B"
"C"
)
for idx in "${items[@]}"
do
echo "$idx";
done
Cheatsheet collection for go, rust, python, shell and javascript.
#!/bin/bash
items=(
"A"
"B"
"C"
)
for idx in "${items[@]}"
do
echo "$idx";
done