#! /bin/bash MANWIDTH=80 groff -man -Tascii $1 | sed s/'.[]'/''/g > $1.txt