I'm trying to iterate over few lines of bash script and echo all the non comment lines.
Within my loop I have the following command:
echo $line | cut -d" #" -f1
However the interpreter throws at me the following error:
cut: bad delimiter
What I did wrong?