Overview
Comment:Initial revision
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | origin/master | trunk
Files: files | file ages | folders
SHA3-256: 6a27a298ffb4cd0290ab10071630f157773981caaa61bccdd353734fdff1bb7e
User & Date: gawthrop@users.sourceforge.net on 1998-03-11 10:32:35
Other Links: branch diff | manifest | tags
Context
1998-03-11
10:45:19
Added rclean - recursive clean check-in: f0b0f0fc46 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
10:32:35
Initial revision check-in: 6a27a298ff user: gawthrop@users.sourceforge.net tags: origin/master, trunk
10:32:11
Now uses dir2paths transformation check-in: 7383523846 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
Changes

Added mttroot/mtt/bin/trans/dir2paths version [a1db511505].







































































>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
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
32
33
34
35
#! /bin/sh

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

# Bourne shell script: dir2paths
# Finds paths of all valid MTT examples

# P.J.Gawthrop Mar 98
# Copyright (c) P.J.Gawthrop, 1998.

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


dotdot=$2 # Set to ../ if we are in MTT_work


# Create paths for all valid examples - ie dir name is system name
find $dotdot$1 -name '*_abg.fig' -print | sort |\
  awk '{
   N=split($1,name,"/"); 
   printf("%s", name[1]);
   for (i=2;i<N;i++) printf("/%s", name[i]); 
   printf(" %s %s\n", name[N-1], name[N]);
  }' |\
  awk '{
  correctname=sprintf("%s_abg.fig", $2);
  if ($3==correctname) print  $1,$2
  }'


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