home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / forut062.zip / ForUtil-0.62 / man / man2asci.sh < prev   
Linux/UNIX/POSIX Shell Script  |  1996-08-21  |  176b  |  9 lines

  1. #!/bin/sh
  2. # convert preformatted manual pages to ascii
  3. #
  4.  
  5. for file in $* ; do
  6.     echo "Converting $file"
  7.     groff -Tascii -man $file | sed -e 's/.//g' > `basename $file`.txt
  8. done
  9.