Welcome to the TeXnik website (under construction) Search and Replace |
||||||||||||
|
Search and Replace for two or more files working with several files in a bigger project makes it sometimes difficult to search and replace strings for all these files. with the following perl-command (perl must be installed ;-) it's possible: perl -e 's/Berlin City/Tokyo Metropolitan/gi' -p -i.bak *.lyxchanges in all files with suffix lyx in the actual directory the word "Berlin City" to "Tokyo Metropolitan" and (!) copy the old files to *.bak, which could be sometimes important ;-) |