C
CrazedNerd
Guest
Code:
for person in $ME $3 Pat ${RA[2]} Sue; do
echo $person
done
Overall a pretty simple loop in bash, if i make my name that variable (ME=CrazedNerd), it will loop my name until Sue. However, ${RA[2]} seems completely random and doesn't have any functionality so far. When i run the script as described, it loops my name until sue, and bash gives me no bugs/errors. I tried assigning something to "RA" but that doesn't change it either. All i know is that RA[2] is getting grouped together by brackets.