sed how to ignore remarked lines
- by yael
hi all
I have the following sed command in my script
sed -i "/$PARAM/s/$OLD/$BEW/g" $FILE
this sed command replace the OLD value to new in the line that PARAMETER exsit
but I need also to ignore the "#" lines
how it can possible to change the sed syntax in order to ignore "#" lines?