home *** CD-ROM | disk | FTP | other *** search
/ Education Sampler 1992 [NeXTSTEP] / Education_1992_Sampler.iso / Demos / DE_FrameMaker / FrameMaker.app / fminit2.0 / wntomif < prev    next >
Text File  |  1992-08-24  |  394b  |  16 lines

  1. #!/bin/sh
  2. # NAME
  3. #    wntomif -- convert WriteNow file into MIF
  4. # SYNOPSIS
  5. #    wntomif filtpath writenowfile miffile
  6. # DESCRIPTION
  7. #    Convert $2 (WriteNow format) to $3 (MIF) by first going from wn
  8. #    to rtf, then rtf to MIF.
  9. #
  10. if [ -x /NextApps/WriteNow.app/wn-rtf ]; then
  11.     /NextApps/WriteNow.app/wn-rtf $2 | $1/rtftomif > $3
  12. else
  13.     echo "Error in $0: wn-rtf not found." | $1/txttomif > $3
  14.     exit 2
  15. fi
  16.