Difference between revisions of "PipedStylesheets.bash"
Jump to navigation
Jump to search
(initial check-in with just rudimentary instructions) |
m |
||
Line 6: | Line 6: | ||
Copy this script and all the stylesheets you want to execute into a single directory. | Copy this script and all the stylesheets you want to execute into a single directory. | ||
Make sure that the stylesheets all end in ".xslt" and are named such that they are sorted in the order you wish to have them executed. Then run the script. | Make sure that the stylesheets all end in ".xslt" and are named such that they are sorted in the order you wish to have them executed. Then run the script. | ||
+ | |||
+ | == Detailed Instructions == | ||
+ | # Log into a commandline interface to a bash-enabled system, e.g. Mac OS X or Debian | ||
+ | GNU/Linux. | ||
+ | # Create a new directory (if needed), and cd into it. E.g. <tt>mkdir ~/Desktop/p42p5/; cd ~/Desktop/p42p5/</tt>. | ||
+ | # If your bash executable is '''not''' <tt>/bin/bash</tt>, then change '''both''' occurences of the string "/bin/bash" to a working path to the bash executable. You |
Revision as of 08:12, 26 May 2006
Idea
This is a shell script (in the bash language) that executes each stylesheet it finds in its own directory on the specified input file.
Quick Usage Summary
Copy this script and all the stylesheets you want to execute into a single directory. Make sure that the stylesheets all end in ".xslt" and are named such that they are sorted in the order you wish to have them executed. Then run the script.
Detailed Instructions
- Log into a commandline interface to a bash-enabled system, e.g. Mac OS X or Debian
GNU/Linux.
- Create a new directory (if needed), and cd into it. E.g. mkdir ~/Desktop/p42p5/; cd ~/Desktop/p42p5/.
- If your bash executable is not /bin/bash, then change both occurences of the string "/bin/bash" to a working path to the bash executable. You