Wojciech Kocjan <[EMAIL PROTECTED]> writes:

> Sounds good to me.

I will commit it today then, having received a positive response from
several people.
 
> Also, you could easily write it in tcl - would me much more
> appropriate ;-)

Sure, but it will be slower.  The only benefit might be for windows
people who don't have shell tools.  In that case, though, the whole
thing needs to be in Tcl (the find functionality as well).

Barring that:

#!/bin/sh
for fn in `find . -name "*.ttml"` ; 
        do sed -e 's/<+/<?/g' -e 's/+>/?>/g' $fn > $fn.new; 
        mv $fn.new $fn ; 
done

Seems to work.
-- 
David N. Welton
     Personal:           http://www.efn.org/~davidw/  
Free Software:           http://people.debian.org/~davidw/
   Apache Tcl:           http://tcl.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to