News for hackers. Stuff that matters.
Re:Block Comments Are a Bad Idea by Athas on Wednesday October 11, 2017 @08:07AM (#15449051)
Yes, heredocs (or "here-comments", since you want them ignored, not just stored in a string variable) would likely be a solution for all but the most pedantic. The final recourse of the pedant would be to point out that no single closing string would be appropriate in all cases, and you are in principle required to read the code you want to comment out, in order to find a closing string that is not already contained within it.
Re:Block Comments Are a Bad Idea by cat199 on Wednesday October 11, 2017 @08:23AM (#15449139)
:.,+n|grep eofstr