home *** CD-ROM | disk | FTP | other *** search
- #! /bin/sh
- # NAME
- # mkdoc - create documenation file from manual pages
- # SYNOPSIS
- # mkdoc <files>
- # DESCRIPTION
- # Creates documentation (text) files from manual pages.
- # The documentation files are used by help function mode
- # in GNU Emacs (for the tile forth environment).
- # OPTIONS
- # none
- # SEE ALSO
- # nroff(1), tr(1).
- # AUTHOR
- # Mikael R.K. Patel
- # Computer Aided Design Laboratory (CADLAB)
- # Department of Computer and Information Science
- # Linkoping University
- # S-581 83 LINKOPING
- # SWEDEN
- # Email: mip@ida.liu.se
- # HISTORY
- # Created on: 20 June 1990
- # Lasted updated: 20 June 1990
-
- for file in $1
- do
- nroff -man $file | tr -d "_\010" > $file.doc
- done
-
-
-