From: Encolpe D. <Enc...@en...> - 2002-10-11 14:04:29
|
Le 11 Oct 2002 15:34:25 +0200 Mikael Nilsson <mi...@na...> a discuté: > Cool! > > I also think that properyfiles is the way to go (I assume you mean > PropertyResourceBundle, right?) Yes > Regarding finding all string, here's a start (GNU tools assumed): > > find . -name "*.java" | xargs grep -n '".*"'| sed -e > 's/^\(.*java:[0-9]*:\).*"\(.*\)".*$/\1 \2/g' Huh! My regexp was to simple. I will try with this one. > It won't catch several strings on one line, or strings spanning > several lines, unfortunately. Was that the kind of script you wanted? I just need to get all strings for the PropertyResourceBundle. > Great work! I'll have a look shortly. It's not my personnal work, i have just complete Mark works. Actually i work on a Zope portal. I will begin to ingrate this in two weeks. -- Encolpe DEGOUTE http://gibbeon.ens-lyon.fr/Portail Linux, ice hockey and cerebral sports |