File: info2man

package info (click to toggle)
info2man 1.1-9
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 372 kB
  • sloc: perl: 2,209; sh: 6; makefile: 2
file content (13 lines) | stat: -rwxr-xr-x 276 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh
#
# Convert info to -man format.
#	- Cameron Simpson <cs@zip.com.au> 01nov2000
#

xit=0
tmp=/tmp/i2m$$
info2pod ${1+"$@"} >$tmp || xit=1
# stderr tossed because of overzealous warnings
pod2man --lax --center='GNU Info' $tmp 2>/dev/null || xit=1
rm -f $tmp
exit $xit