]> git.donarmstrong.com Git - lilypond.git/blob - stepmake/bin/text2html.sh
0547aaeb8d101b4a895b89576fd53f7f9f726d4d
[lilypond.git] / stepmake / bin / text2html.sh
1 #!/bin/sh
2 # text2html.sh
3
4 if [ $# -ne 2 ]; then
5         echo "Usage: text2html TEXT-FILE HTML-FILENAME"
6         exit 2
7 fi
8
9 infile=$1
10 outfile=$2
11 rm -f $outfile
12 echo "<body>" > $outfile
13 echo "<xmp>" >> $outfile
14 cat $infile >> $outfile
15 echo "</xmp>" >> $outfile
16 echo "</body>" >> $outfile
17