sed uncomment configuration file

view full story

http://stackoverflow.com – Hope some one can guide me in the right direction. I am making a bash script, need to modify specific parameters in a configuration file. sed has worked very good for me, but now I am stuck. I must uncomment the word sql on the configuration file, the problem is that the word: # sql Appears quite few times on the file the same way, alone in the line so have no way to reference exactly the one I want to uncomment. Any help would be appreciated. (HowTos)