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: |
dceda22412a0893b3b902e2ea3aa0e18 |
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: c2de89e174 user: geraint@users.sourceforge.net tags: origin/master, trunk | |
16:19:30 | Converts dia and fig bond graphs to postscript format. check-in: dceda22412 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: 425b17b5aa 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 |