On Mon, Mar 25, 2002 at 02:33:02PM -0600, Jared Burns wrote:
> Oof.
>
> Ok, maybe I should give my *real* case. I have some directories with a bunch
> of Java files that contain this comment:
> /**
> * @version 1.0
> * @author
> */
>
> I want to remove this comment from all of the files. Thoughts?
>
[untested]
perl -pi.bak -e 'BEGIN{undef$/}s[/**\s+*\s+\@version\s+1.0\s+*\s+\@author\s+*/][]g'
combine it with find and xargs, and yer golden. I think.