for word in $(cat link_name.list); do
echo "$word";
done
The for loop does not read contents line by line but as a single line. Not sure why a while loop is preferred to do this?
for word in $(cat link_name.list); do
echo "$word";
done
The for loop does not read contents line by line but as a single line. Not sure why a while loop is preferred to do this?