Smart quote character replacement for those with deficient sed-fu.
Steven D'Aprano
steve+comp.lang.python at pearwood.info
Sun Jun 17 00:24:27 EDT 2012
On Sat, 16 Jun 2012 18:39:42 -0700, smitty1e wrote:
[...]
> python charfix.py `ls src/*.tex`
>
> charfix.py code:
Thanks for that. You might like to also publish it on the ActiveState
Python recipes site, where people are more likely to find it in the
future.
http://code.activestate.com/recipes/langs/python/
--
Steven
More information about the Python-list
mailing list