I would like to remove the first C block comment from the top of every file (recursively). To start with, I’m happy to just strip the first comment (wrapped in /* and */) from the top of a single file.
I’m not having success with either of these:
sed '//*/,/*//d' myfile.txt
sed 's//*.**//' myfile.txt
Can someone suggest how to fix these? Then, can that be made resursive? (some posts suggest using find to execute sed)