Overview
Comment:Change test for "new" cr
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | origin/master | trunk
Files: files | file ages | folders
SHA3-256: c0023f66cd97553b8a86b6cffd7c4316d9f0118a634c6ed5957253aa45be8608
User & Date: gawthrop@users.sourceforge.net on 2003-08-19 13:12:03
Other Links: branch diff | manifest | tags
Context
2003-08-19
13:12:49
Update check-in: 642e4dd120 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
13:12:03
Change test for "new" cr check-in: c0023f66cd user: gawthrop@users.sourceforge.net tags: origin/master, trunk
13:10:47
More arg stuff check-in: 8dc8d52b1f user: gawthrop@users.sourceforge.net tags: origin/master, trunk
Changes

Modified mttroot/mtt/bin/trans/cr_txt2r from [3f31737efa] to [fd5454f1e3].

12
13
14
15
16
17
18



19
20
21
22
23
24
25
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28







+
+
+







# Copyright (c) P.J.Gawthrop, 1997.

###############################################################
## Version control history
###############################################################
## $Id$
## $Log$
## Revision 1.14  2002/05/09 15:52:09  gawthrop
## Now uses current cr file is its newer than abg.m
##
## Revision 1.13  2002/04/28 18:41:26  geraint
## Fixed [ 549658 ] awk should be gawk.
## Replaced calls to awk with call to gawk.
##
## Revision 1.12  2002/04/08 17:04:21  geraint
## Removed spurious "\n" from output.
##
81
82
83
84
85
86
87
88

89
90
91
92
93
94
95
84
85
86
87
88
89
90

91
92
93
94
95
96
97
98







-
+








level='' ## Used to be $2 - now set to null.

abgfile=$1_abg.m
crfile=$1_cr.r
CRFILE=$1_cr.r

if [ "$crfile" -nt "$abgfile" ]; then
if [ -f "$crfile" ]; then
    echo "Using    $crfile"
else
    # Inform user
    echo "Creating $crfile"

    echo "% Constitutive relation file for $1 ($crfile)" > $crfile
    echo "% Generated by MTT at `date`" >> $crfile


MTT: Model Transformation Tools
GitHub | SourceHut | Sourceforge | Fossil RSS ]