home *** CD-ROM | disk | FTP | other *** search
- #!/bin/sh
- # Usage: getmac -package macro
- case $1 in
- -mm) file="/usr/lib/macros/mmt";;
- -ms) file="/usr/lib/tmac/tmac.s";;
- -me) file="/usr/lib/tmac/tmac.e";;
- -man) file="/usr/lib/tmac/tmac.an";;
- esac
- echo '.\"'
- echo .\\\" The following definition of $mac was found in $file:
- echo '.\"'
- sed -n -e "/^\.de *$2/,/^\.\.$/p" $file
-