1#!/bin/sh 2 3# Generate a text representation of the man pages 4cd manpages/man1/ 5for file in *.1 ; do \ 6 MANWIDTH=80 man -E ascii -l $file | col -bxp > ../../man2text/`echo $file | sed 's/\(.*\.\)1/\1txt/'` ;\ 7done 8