File: xml2man.sh

package info (click to toggle)
manpages-tr 1.0.2+cvs20040401-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k, sarge
  • size: 1,268 kB
  • ctags: 24
  • sloc: xml: 13,540; php: 74; makefile: 46; sh: 13
file content (11 lines) | stat: -rwxr-xr-x 290 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
#!/bin/bash

# man sayfalarinin xml dosyalarini man sayfasi haline getirir
# kullanimi (ornegin man1/rmdir.1.xml dosyasini derleyelim):
# man2xml.sh man1/rmdir.1



./preproc.php $1.xml | xsltproc -o tr/$1.tmp xml2man.xsl -
./translate.php tr/$1.tmp | cat prefix.man - > tr/$1
rm tr/$1.tmp