Overview
Comment: | Converts dia and fig bond graphs to postscript format. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | origin/master | trunk |
Files: | files | file ages | folders |
SHA3-256: |
75c1ec25856727337e19157348ce46d2 |
User & Date: | geraint@users.sourceforge.net on 2004-08-26 16:19:30 |
Other Links: | branch diff | manifest | tags |
Context
2004-08-26
| ||
16:20:17 | Creates postscript files of either dia or fig bond graphs. check-in: c25f0b6d55 user: geraint@users.sourceforge.net tags: origin/master, trunk | |
16:19:30 | Converts dia and fig bond graphs to postscript format. check-in: 75c1ec2585 user: geraint@users.sourceforge.net tags: origin/master, trunk | |
16:17:25 | Piped errors to /dev/null to prevent complaints from ls about non-existent files. check-in: 71ad7f6cb3 user: geraint@users.sourceforge.net tags: origin/master, trunk | |
Changes
Added mttroot/mtt/bin/trans/bg2eps version [b8f9ead8c5].
> > > > > > > > > > > > > > > > > > > > > > > > | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | #! /bin/sh set +e # prevent dia errors from halting MTT sys=$1 rep=$2 ps=$3 eps=$4 dia_files=`ls ${sys}*_${rep}.dia 2>/dev/null | sed 's/\.dia$//'` fig_files=`ls ${sys}*_${rep}.fig 2>/dev/null | sed 's/\.fig$//'` for file in ${dia_files} do dia --export-to-format=eps ${file}.dia if [ "${ps}" != "eps" ] then mv ${file}.eps ${file}.${ps} fi done for file in ${fig_files} do fig2dev -L${eps} ${file}.fig > ${file}.${ps} done |