I am learning some basic programming in linux ( Fedora 5). I am just creating some simple programs and I am wondering if anyone can help me figure this out.
I have this array....
How can i change this script to have the data read from within the program rather then from the command line?
thank you in advance for any help!
I have this array....
Code:
let i=1
for array3 in "$@"
do
names[i]="$array3"
let i=i+1
done
for i in "${names[@]}"
do
echo $i
done
thank you in advance for any help!
Comment