Overview
Comment:Now exits if file already exists
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | origin/master | trunk
Files: files | file ages | folders
SHA3-256: 4bd1a5653e69fde6717fa3aa25ebec99ac622803498295074187b414239ee312
User & Date: gawthrop@users.sourceforge.net on 2000-01-18 14:22:58
Other Links: branch diff | manifest | tags
Context
2000-01-18
14:52:02
Removed recursion --- maybe put back via a flag later check-in: f9259a0645 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
14:22:58
Now exits if file already exists check-in: 4bd1a5653e user: gawthrop@users.sourceforge.net tags: origin/master, trunk
1999-12-23
20:18:54
Removed METHOD check-in: 6fc1d06488 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
Changes

Modified mttroot/mtt/bin/trans/cmp2sub_m2sh from [9b3ecd10f1] to [04a8e7d025].

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
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
45
46
47
48
49
50







+
+
+

















-
-
-
+
+
+
+
+
+
+
+







# Copyright (c) P.J.Gawthrop 1996.

###############################################################
## Version control history
###############################################################
## $Id$
## $Log$
## Revision 1.6  1999/08/25 21:20:07  peterg
## Don't list components starting with 0 ot 1
##
## Revision 1.5  1996/11/09 21:09:43  peterg
## Added lib path.
##
# Revision 1.4  1996/11/03  21:19:55  peterg
# Generates generic commands in form $1name$2.
#
## Revision 1.3  1996/11/01 12:48:21  peterg
## Run mtt in quiet mode.
##
## Revision 1.2  1996/10/20 19:22:41  peterg
## Cleans up after itself.
##
## Revision 1.1  1996/10/20 19:19:50  peterg
## Initial revision
##
###############################################################


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


echo '# Commands to generate subsystem representations'>  $1_sub.sh
echo "# File $1_sub.sh"			>> $1_sub.sh
echo "# Generated by MTT on `date`."	>> $1_sub.sh
echo					>> $1_sub.sh

# Get a list of all components for the _cmp file


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