Looking for some one who is good with "sed" , I am making a bash script need to uncomment a line. For some reason my command is not working, this is the command" # sed -i '/readclients = yes/ s/^#//' /etc/raddb/sql.conf # with no hash marks When I check to see if the hash was removed is still there. Any one that wants who knows that wants to make a quick $5 ? Need this work right now any one ?
I guess you missed the 'g' at the end.. sed -i '/readclients = yes/ s/^#//g' /etc/raddb/sql.conf Code (markup): ------------------------ can't test the code since m away from my pc