File: maakhtml

package info (click to toggle)
doc-linux-nl 20011220-1
  • links: PTS
  • area: main
  • in suites: woody
  • size: 1,632 kB
  • ctags: 16
  • sloc: perl: 193; sh: 84; makefile: 74
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