Overview
Comment: | *** empty log message *** |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | origin/master | trunk |
Files: | files | file ages | folders |
SHA3-256: |
3fbc81b491b39ada6c7a3519997d7c2f |
User & Date: | geraint@users.sourceforge.net on 2001-04-16 22:22:06 |
Other Links: | branch diff | manifest | tags |
Context
2001-04-19
| ||
11:04:57 | New C component with state detector check-in: b401f73980 user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
2001-04-16
| ||
22:22:06 | *** empty log message *** check-in: 3fbc81b491 user: geraint@users.sourceforge.net tags: origin/master, trunk | |
2001-04-15
| ||
21:15:41 | Added interface definition rep: _ICD.(txt|c|cc|m). check-in: 16076f51bd user: geraint@users.sourceforge.net tags: origin/master, trunk | |
Changes
Added mttroot/mtt/bin/trans/dat2siag version [4a36fa9cce].
> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 | #! /bin/sh ###################################### ##### Model Transformation Tools ##### ###################################### # Bourne shell script: dat2siag # Converts data to siag (scheme in a grid) format - ie columns become rows. # Data file dat to sdat conversion # P.J.Gawthrop February 1998 # Copyright (c) P.J.Gawthrop, 1998. ############################################################### ## Version control history ############################################################### ## $Id$ ## $Log$ ## Revision 1.1 1999/03/29 03:35:13 peterg ## Initial revision ## ############################################################### # This is the main transformation using awk awk '{ i++ for (j=1;j<=NF;j++) data[i,j]=$j; Cols=NF; Rows++; } END{ for (j=1;j<=Cols;j++) { for (i=1;i<=Rows;i++){ printf("%s ", data[i,j]); } printf("\n"); } }' |
Added mttroot/mtt/bin/trans/odes_dat2sdat version [10897a37e0].
> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 | #! /bin/sh ###################################### ##### Model Transformation Tools ##### ###################################### # Bourne shell script: odeso_dat2sdat # Structure file - dat to sdat conversion # P.J.Gawthrop April 1997 # Copyright (c) P.J.Gawthrop, 1997. ############################################################### ## Version control history ############################################################### ## $Id$ ## $Log$ ## Revision 1.2 2000/12/28 12:38:24 peterg ## Put under RCS ## ## Revision 1.1 1999/03/28 21:29:40 peterg ## Initial revision ## ############################################################### # Inform user echo "Creating $1_odeso.sdat" dat2sdat $1 odes | dat2siag > $1_odes.sdat |