Overview
Comment:Use cp --force to ovewrite RCS locked files in MTT_work
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | origin/master | trunk
Files: files | file ages | folders
SHA3-256: 140dec84c344949420a810fe8e10657feb2ff78fc7652d655ea555d6e51c44e9
User & Date: gawthrop@users.sourceforge.net on 2015-03-13 03:25:21
Other Links: branch diff | manifest | tags
Context
2015-08-11
22:55:00
5-port R for new stoichimetric form - integral only Leaf check-in: 2145ae2fe9 user: gawthrop@users.sourceforge.net tags: 5.0.2015.08.11, origin/master, trunk
2015-03-13
03:25:21
Use cp --force to ovewrite RCS locked files in MTT_work check-in: 140dec84c3 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
2014-09-04
23:07:50
/system/System/ to pacify gawk check-in: b969424661 user: geraint@users.sourceforge.net tags: origin/master, trunk
Changes

Modified mttroot/mtt/bin/mtt from [e38912a134] to [d8412334b4].

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
#! /bin/sh

     ###################################### 
     ##### Model Transformation Tools #####
     ######################################

# Bourne shell script: mtt
# This is the main shell script for MTT

# P.J.Gawthrop Oct 1989, Dec 1989, 1990, 1991, Oct 1993, Dec 1993, Jan 1994, Dec 95, Nov 1996.
# Copyright (c) P.J.Gawthrop, 1989, 1990, 1991, 1993, 1994, 1995, 1996, 1997,1998,1999
# Copyright (C) 2000 by Peter J. Gawthrop
# Copyright (C) 2001 by Peter J. Gawthrop


###############################################################
## Version control history
###############################################################
## $Header$
## $Log$




## Revision 1.418  2013/07/19 05:40:26  gawthrop
## Added -nas (No alphabetic sort) switch in help options
##
## Revision 1.417  2008/07/22 17:37:01  geraint
## Fixed case of MTT_EXAMPLES
##
## Revision 1.416  2006/09/27 13:03:20  geraint













>






>
>
>
>







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
#! /bin/sh

     ###################################### 
     ##### Model Transformation Tools #####
     ######################################

# Bourne shell script: mtt
# This is the main shell script for MTT

# P.J.Gawthrop Oct 1989, Dec 1989, 1990, 1991, Oct 1993, Dec 1993, Jan 1994, Dec 95, Nov 1996.
# Copyright (c) P.J.Gawthrop, 1989, 1990, 1991, 1993, 1994, 1995, 1996, 1997,1998,1999
# Copyright (C) 2000 by Peter J. Gawthrop
# Copyright (C) 2001 by Peter J. Gawthrop


###############################################################
## Version control history
###############################################################
## $Header$
## $Log$
## Revision 1.419  2014/04/18 02:02:08  gawthrop
## Added sum.tex representation -- this was in a very old MTT and
## summerises the structure.
##
## Revision 1.418  2013/07/19 05:40:26  gawthrop
## Added -nas (No alphabetic sort) switch in help options
##
## Revision 1.417  2008/07/22 17:37:01  geraint
## Fixed case of MTT_EXAMPLES
##
## Revision 1.416  2006/09/27 13:03:20  geraint
1535
1536
1537
1538
1539
1540
1541



1542
1543
1544
1545
1546
1547
1548
sort_method=''

#Initialise list of switches
mtt_switches='';

#Initialise read dirs
read_dirs=''




#Look for a command line argument
while [ -n "`echo $1 | grep '^-'`" ]; do
  case $1 in
	-q )
                mtt_switches="$mtt_switches $1";
		quiet=quiet;;  







>
>
>







1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
sort_method=''

#Initialise list of switches
mtt_switches='';

#Initialise read dirs
read_dirs=''

#Initialise view_level
viewlevel=0

#Look for a command line argument
while [ -n "`echo $1 | grep '^-'`" ]; do
  case $1 in
	-q )
                mtt_switches="$mtt_switches $1";
		quiet=quiet;;  
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
	    echo "MTT Error: System $sys does not exist"
	    exit -1;
	fi
    fi
   mkdir -p MTT_work
   valid_files=`ls | grep -v '^MTT'`
   ##cp -p -u  Makefile Make *.* .* MTT_work  2>/dev/null
   cp -p -u -R ${valid_files} MTT_work  2>/dev/null

   # Go to MTT_work
   cd MTT_work

   if [ -f ".octaverc" ]; then
     touch .octaverc
   else







|







2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
	    echo "MTT Error: System $sys does not exist"
	    exit -1;
	fi
    fi
   mkdir -p MTT_work
   valid_files=`ls | grep -v '^MTT'`
   ##cp -p -u  Makefile Make *.* .* MTT_work  2>/dev/null
   cp -p -u -R --force ${valid_files} MTT_work  2>/dev/null

   # Go to MTT_work
   cd MTT_work

   if [ -f ".octaverc" ]; then
     touch .octaverc
   else


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