Hi Sebb, sebb wrote:
> On 8 April 2011 00:09, Jörg Schaible <joerg.schai...@gmx.de> wrote: [snip] >> Since we have no consensus yet and in case someone else wants to get rid >> of it, here is the bash command: >> >> ============== %< ============ >> $ cd lang >> $ sed -i -s -e '\,/\*\*, { >> N >> /{@inheritDoc}/ { >> N >> \,\*/, { >> \,/\*\*.*\*/,d >> } >> } >> }' `find src -name "*.java"` >> $ svn diff >> ============== %< ============ > > My sed is a bit rusty - I assume that only removes inheritDoc if there > is no other text in the block? Currently not really ensured. However, svn diff contains only valid cases. > Does it also remove the one-line version? No. > There are some occasions when inheritDoc can be useful with additional > text. I know. Nevertheless "svn revert -R ." is helpful, if it drops valid lines at first attempt ;-) - Jörg --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org For additional commands, e-mail: dev-h...@commons.apache.org