problem solved - thank you :)
What ways can I change the contents of many files in the following way:
some of the files contain the text
and I'd like these files to have the above text replaced with
I've had a look at sed and this seems to do the job, but I can't work out how to get it to do this with a large collection of files (300+).
For those interested I'm updating some latex documents. Some of them had been printed and were lost in the south bridge fire - I'm helping get them back.
Thanks for any pointers/help :)
What ways can I change the contents of many files in the following way:
some of the files contain the text
\bibliography{/path/to/bib}
\bibliographystyle{/path/to/style}
and I'd like these files to have the above text replaced with
\bibliography{/newpath/bib}
\bibliographystyle{/anotherpath/style}
I've had a look at sed and this seems to do the job, but I can't work out how to get it to do this with a large collection of files (300+).
For those interested I'm updating some latex documents. Some of them had been printed and were lost in the south bridge fire - I'm helping get them back.
Thanks for any pointers/help :)
