- #1
Surrealist
- 48
- 0
I have never written a shell script, but I am trying to learn. I want to make a generic Unix shell script that will allow me to run four commands in a row... something like this...
latex $filename
bibtex $filename
latex $filename
latex $filename
I would like to call the script "ltxprc.sh".
How would I make this file work for any filename?
For instance, if my file name were "paper", would I run a command like...
sh ltxprc.sh
where do I input the filename?
latex $filename
bibtex $filename
latex $filename
latex $filename
I would like to call the script "ltxprc.sh".
How would I make this file work for any filename?
For instance, if my file name were "paper", would I run a command like...
sh ltxprc.sh
where do I input the filename?