Overview
Comment:Added rename function.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | origin/master | trunk
Files: files | file ages | folders
SHA3-256: cd109783a1d7cf54e434d823ff9371b5ed34f70715f7589a4c7f369a789dd68c
User & Date: gawthrop@users.sourceforge.net on 1998-01-06 13:59:30
Other Links: branch diff | manifest | tags
Context
1998-01-06
15:56:31
Initial revision check-in: 0ae3bc5be4 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
13:59:30
Added rename function. check-in: cd109783a1 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
13:57:59
Initial revision check-in: 50758e2af4 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
Changes

Modified mttroot/mtt/bin/mtt from [131826e609] to [4809036d36].

10
11
12
13
14
15
16



17
18
19
20
21
22
23
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26







+
+
+







# Copyright (c) P.J.Gawthrop, 1989, 1990, 1991, 1993, 1994, 1995, 1996.

###############################################################
## Version control history
###############################################################
## $Header$
## $Log$
# Revision 1.109  1998/01/06  09:20:02  peterg
# Made LATEX2HTML an environment variable.
#
# Revision 1.108  1997/12/19  08:48:55  peterg
# Lille modifications - bicausal algebraic loops supported
#
## Revision 1.107  1997/12/11 10:59:50  peterg
## This is version 2.6
##
# Revision 1.106  1997/12/11  10:59:07  peterg
459
460
461
462
463
464
465

466
467
468
469
470
471
472
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476







+







    echo '       mtt info topic'
    echo '       mtt hinfo            -- hypertext manual'
    echo '       mtt manual           -- dvi manual'
    echo '       mtt warranty'
    echo '       mtt clean'
    echo '       mtt <system_name> clean'
    echo '       mtt copy <system_name> <path_name>'
    echo '       mtt rename <old_name> <new_name>'
    echo '       mtt <system_name> <representation> vc'
    echo '       mtt <system_name> <representation> <language>'
    echo '       mtt <system_name> <representation> <language> <parameters>'
    echo 'Options: -q  quiet mode'
    echo '         -p  print environment variables'
    echo '         -c  c-code generation'
    echo '         -o  ode and dae are the same'
582
583
584
585
586
587
588






589
590
591
592
593
594
595
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605







+
+
+
+
+
+







# Invoke explicit requests for modification
if [ "$2" = "abg" ] && [ "$3" = "fig" ]; then
  mtt_check_var "$FIG" FIG
  echo Editing $1_$2.$3
  ($FIG $1_$2.$3; cp $1_abg.fig $1_$1_abg.fig) &
  exit
fi

# Rename a system
if [ "$1" = "rename" ]; then
  mtt_rename_all $2 $3
  exit
fi

# Copy systems from the example library
if [ "$1" = "copy" ]; then
  # check that its not here already
  file_exists=`ls $2 2> /dev/null`
  if [ -n "$file_exists" ]; then
    if [ "$quiet" != "quiet" ]; then    


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