Clemens Marschner wrote: > I think this one-liner should have done the trick: > > find . -name '*.java' | xargs perl -pi.bak -e 'BEGIN { $newAuthor = "<a > href=mailto:[EMAIL PROTECTED]>Apache Avalon Development > Team</a>"; $a="\@ > author"; } s/$a.*$/$a $newAuthor/g if (m/$a/ && (++$c == 1));'
Lowly Windows people like me can't use fun stuff like xargs :(. I'm still waiting to find an old computer I can reformat and hijack, though.... I suppose in the event of a true emergency, I could always just log on to a shell account at Sourceforge, checkout avalon, convert the files, run diff, delete the leftover checked out files, and email or scp the diff somewhere useful. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>