Return to Snippet

Revision: 15591
at July 11, 2009 02:39 by jturmel


Initial Code
# comment
sed -i 's/^/#/g' /example/file/here.txt

#uncomment
sed -i 's/^#//g' /example/file/here.txt

Initial URL


Initial Description


Initial Title
sed script to comment/uncomment every line in a file

Initial Tags


Initial Language
Bash