IntermediateAlgebraText $ find . -name \*.tex -exec perl -npi -e 's/% output=pdf/%/g' \{\}\;
find: -exec: no terminating ";"

On Dec 18, 2005, at 10:53 AM, Taco Hoekwater wrote:

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


_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

Reply via email to