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? the solution must be only with sed not by perl!