Generalbatch replace text?

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
bobbylou
Posts: 18
Joined: Tue Apr 21, 2009 6:54 pm

batch replace text?

Post by bobbylou »

Hi,

I am making a number of very similar documents. Occasionally I want to make an identical change to all the documents. It would be great if I could do this in one fell swoop, rather than (as I am doing it now) by opening each separate .tex file and cutting and pasting, etc. Is there a way of conveniently doing this? thanks!!!

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics TikZによるLaTeXグラフィックス
php1ic
Posts: 192
Joined: Wed Jan 28, 2009 8:17 pm

Re: batch replace text?

Post by php1ic »

Are you on a windows or linux/unix system?

If linux/unix the command 'sed', combined with a basic script will allow you to do what you want. Windows, I don't know.
Post Reply