![](https://secure.gravatar.com/avatar/565476157eb3895a9c928ffce26d988d.jpg?s=120&d=mm&r=g)
18 Dec
2005
18 Dec
'05
11:53 a.m.
David Arnold wrote:
All,
How would I use sed to erase %output=pdf from any file ending with .tex in the current directory and any subdirectories below it?
I don't know about sed, but here is a find/perl solution that would work on linux: find . -name \*.tex -exec perl -npi -e 's/%output=pdf/%/g' \{\} \; Taco