I am using the for loop to print the below variables using the below statement but its not printing the values correctly. Its giving only the iteration value. Can someone help me?
value1="1500067"
value2="1500068"
value3="1500069"
package1="CNN"
package2="FOX"
package3="Discovery"
for iteration in {1..3}
do
echo ""$value""$iteration" - "$package""$iteration""
done
Expected Output:
1500067 - CNN
1500068 - Fox
1500069 - Discovery