1

how to remove two forward slashes in a comment with sed

view story
linux-howto

http://askubuntu.com – I have a configuration file and I want to replace a line containing a specific string, lets say test : file.conf aaa bbb ccc // test ddd // test My line of code is not working, I'm new to sed. sed -i `s#^//[ \t]test#test#g' Some guidance ? (HowTos)