I have a file that contains about 800 lines. All the lines contains 1 * character in it.
I need to loop through the lines in the file so I used the following simple for loop
for i in $(cat file_path); do echo $i; done
Unfortunately it did not work.
When I try it with another files but the lines in the file do not contains the * character, the loop is working fine.
How can I solve this?