home *** CD-ROM | disk | FTP | other *** search
- #!/bin/sh
- # NAME
- # wntomif -- convert WriteNow file into MIF
- # SYNOPSIS
- # wntomif filtpath writenowfile miffile
- # DESCRIPTION
- # Convert $2 (WriteNow format) to $3 (MIF) by first going from wn
- # to rtf, then rtf to MIF.
- #
- if [ -x /NextApps/WriteNow.app/wn-rtf ]; then
- /NextApps/WriteNow.app/wn-rtf $2 | $1/rtftomif > $3
- else
- echo "Error in $0: wn-rtf not found." | $1/txttomif > $3
- exit 2
- fi
-