File: maakhtml

package info (click to toggle)
doc-linux-nl 20051127-2
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 16,408 kB
  • ctags: 94
  • sloc: xml: 47,403; makefile: 312; perl: 193; sh: 116; ansic: 12; csh: 9
file content (10 lines) | stat: -rwxr-xr-x 194 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
#!/bin/bash
STARTLINE=`head -n 1 $4`
if [ "$STARTLINE" = '<!doctype linuxdoc system>' ]
then
    echo "sgml2html"
    sgml2html $@
else
    echo "sgmltools"
    sgmltools --backend="html" $4
fi