Reworded new sections in Git Grandmastery
[gitmagic/gitmagic.git] / bookmake
blob677dd444bf8ca46c3d42c435988b163f6d8ace49
1 #!/bin/bash
3 echo '<?xml version="1.0" encoding="utf-8"?>
4 <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
5 "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd">
6 <book>
7 <bookinfo>
8 <title>Git Magic</title>
9 <author><firstname>Ben</firstname><surname>Lynn</surname></author>
10 <copyright><year>2007</year><holder>Ben Lynn</holder></copyright>
11 </bookinfo>'
13 if [ $# -gt 0 ]; then
14 for FILE in $*; do
15 ./wiki2xml $FILE
16 done
17 else
18 ./wiki2xml
21 echo '</book>'