386BSD 0.1 development
authorWilliam F. Jolitz <wjolitz@soda.berkeley.edu>
Sat, 27 Jun 1992 19:02:58 +0000 (11:02 -0800)
committerWilliam F. Jolitz <wjolitz@soda.berkeley.edu>
Sat, 27 Jun 1992 19:02:58 +0000 (11:02 -0800)
Work on file usr/othersrc/public/fileutils-3.2/man/catman

Co-Authored-By: Lynne Greer Jolitz <ljolitz@cardio.ucsf.edu>
Synthesized-from: 386BSD-0.1

usr/othersrc/public/fileutils-3.2/man/catman [new file with mode: 0755]

diff --git a/usr/othersrc/public/fileutils-3.2/man/catman b/usr/othersrc/public/fileutils-3.2/man/catman
new file mode 100755 (executable)
index 0000000..88cdccf
--- /dev/null
@@ -0,0 +1,12 @@
+#!/bin/sh
+# usage: sh catman
+# put the section numbers here:
+for section in 1
+do
+  echo formatting section $section...
+  for file in man$section/*
+  do
+    echo $file "->" cat$section/`basename $file .$section`.0
+    nroff -man <$file >cat$section/`basename $file .$section`.0
+  done
+done