Overview
Comment:Now uses current cr file is its newer than abg.m
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | origin/master | trunk
Files: files | file ages | folders
SHA3-256: 42e98d7b68f222548199a38920839ef0c57bc909ea95802e72109e3d512fba7c
User & Date: gawthrop@users.sourceforge.net on 2002-05-09 15:52:09
Other Links: branch diff | manifest | tags
Context
2002-05-09
16:07:54
Now handles multiple options whis .tex files as well check-in: e9b988e238 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
15:52:09
Now uses current cr file is its newer than abg.m check-in: 42e98d7b68 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
15:40:22
-dr touches copied files to redo timestamp check-in: 1cca23fedd user: gawthrop@users.sourceforge.net tags: origin/master, trunk
Changes

Modified mttroot/mtt/bin/trans/abg2cr_m2txt from [6c927fa6eb] to [66557e28d3].

9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Abg file to constitutive relationship conversion
# P.J.Gawthrop march 2000
# Copyright (C) 2000 by Peter J. Gawthrop



# Inform user
if [ -f "$1_cr.txt" ]; then
    echo "Using  $1_cr.txt"
    exit
else
    echo "Creating $1_cr.txt"
fi









|







9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Abg file to constitutive relationship conversion
# P.J.Gawthrop march 2000
# Copyright (C) 2000 by Peter J. Gawthrop



# Inform user
if [ "$1_cr.txt" -nt "$1_abg.m" ]; then
    echo "Using  $1_cr.txt"
    exit
else
    echo "Creating $1_cr.txt"
fi


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

12
13
14
15
16
17
18




19
20
21
22
23
24
25
# Copyright (c) P.J.Gawthrop, 1997.

###############################################################
## Version control history
###############################################################
## $Id$
## $Log$




## Revision 1.12  2002/04/08 17:04:21  geraint
## Removed spurious "\n" from output.
##
## Revision 1.11  2000/08/01 07:34:33  peterg
## Replaced printf by echo
##
## Revision 1.10  2000/02/25 09:10:12  peterg







>
>
>
>







12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Copyright (c) P.J.Gawthrop, 1997.

###############################################################
## Version control history
###############################################################
## $Id$
## $Log$
## 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.
##
## Revision 1.11  2000/08/01 07:34:33  peterg
## Replaced printf by echo
##
## Revision 1.10  2000/02/25 09:10:12  peterg
73
74
75
76
77
78
79

80
81
82
83
84
85
86
87
88
89
90
#
###############################################################

# The level of the recursion null at top level; _lower at lower levels.

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


crfile=$1_cr.r
CRFILE=$1_cr.r

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







>



|







77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
#
###############################################################

# The level of the recursion null at top level; _lower at lower levels.

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
    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 ]