How sed strip /* comments
how to strip c comments using sed?
/* #include is commented */
This is a line in file.txt. I want to change it to
#include is uncommented in the file.
I am thinking of using
sed 's/\/* #include is commented *\//#include is uncommented/g' file.txt > file_new.txt
But it won't work. Who can shed some lights here.