I'm parsing som .html files in bash. I read the in with:
while read line
do
echo $line
..do something...
done < $file
Now I've expierenced sth. real strange. Some lines in the files contain sth. like
Resolution…: 720 * 576
But bash gives me this:
Resolution…: 720 mysript.sh another_script.pl 576
Bash expands the * char to the content of the actual directory. How can I read the text line by line without expanding the ' thanks in advance