home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Datafile PD-CD 3
/
PDCD_3.iso
/
pocketbk
/
developmen
/
x_psion
/
psion.progs
/
support
/
psrtftounix
< prev
next >
Wrap
Text File
|
1993-03-03
|
609b
|
17 lines
#!/bin/csh -f
# this program takes its $1, moves it to $1.tmp, and then runs
# dos2unix to get a unix file. it then removes the tmp file
# it then runs the rtf file through an rtf to interleaf filter
# and dumps both files in ~/desktop/Psion.cab the interleaf psion cabinet
# it is intended to be called as part of the getrtf.pscmd programs
setenv DISTHOME /usr/dist
setenv ILEAFHOME $DISTHOME/share/ileaf
setenv ILBIN $ILEAFHOME/sun4/bin
setenv OUT `basename $1 .rtf`
mv $1 $1.tmp
dos2unix $1.tmp $1
rm $1.tmp
$ILBIN/rtf5filt -overwrite $1 $OUT.doc
mv $1 ~/desktop/Psion.cab
mv $OUT.doc ~/desktop/Psion.cab