File: man-wrapper.sh

package info (click to toggle)
python-parted 0.10-1
  • links: PTS
  • area: main
  • in suites: woody
  • size: 924 kB
  • ctags: 342
  • sloc: ansic: 1,039; python: 512; makefile: 70; sh: 13
file content (20 lines) | stat: -rwxr-xr-x 348 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#! /bin/sh

# $Progeny: man-wrapper.sh,v 1.1 2002/01/31 20:43:55 epg Exp $

doctools=$(dirname $0)
refentry=$1

cat <<EOF
<!doctype refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN" 
[
<!ENTITY % progeny-entity SYSTEM "${doctools}/progeny.ent">
%progeny-entity;

<!ENTITY myrefentry SYSTEM "${refentry}">
]>

<refentry>
&myrefentry;
</refentry>
EOF