File: fixman.sh

package info (click to toggle)
pgapack 1.0.0.1-2.1
  • links: PTS
  • area: main
  • in suites: woody
  • size: 2,348 kB
  • ctags: 1,780
  • sloc: ansic: 10,331; fortran: 2,985; sh: 574; makefile: 431; perl: 105
file content (16 lines) | stat: -rw-r--r-- 318 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh
#
# krs@debian.org  4 Nov 96
# edits all man pages to put them in man3
#
SECS='1 2 4 5 6 7 8 l'
srcdir=$PWD
test -d tmpman || mkdir tmpman
for s in $SECS; do
	cd $srcdir/man/man$s;
	for f in *.$s; do
		base=`basename $f .$s`;
		cp $f $srcdir/tmpman/$base.3;
	done;
done;
cp $srcdir/man/man3/* $srcdir/tmpman