.. the following should do it:

for f in `find src -name "*.java"`
do
 sed 's/JBoss, the OpenSource EJB server/JBoss, the OpenSource J2EE webOS/g' $f > $f.2
 mv $f.2 $f
done


You can concatenate everything into one line, if you separate it with ;

If you dont't trust it (even I don't ;-), leave out the 'mv ..'-line for
the first. You will end in having a .java.2 for every .java. Check them
for correctness and afterwards reinsert the line.


Holger


_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to