I have a file named p
with something like
file1.html
file2.html
file3.html
At the end of my script I need to open the file in a bash script and execute
a mv command for each line.
I though about using awk
awk '{print $1;}' p - prints each line in the file
but i need to execute a command like
mv $1 $1.bak
any help (or alternative ways) of doing it would be helpful.
Cheers
Adam