Overview
Comment:Default is zero
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | origin/master | trunk
Files: files | file ages | folders
SHA3-256: 99faef62e32f41f27fa50772c2d26038b7a845845a4371f08f3200e1c5fd9e13
User & Date: gawthrop@users.sourceforge.net on 2000-09-14 09:53:17
Other Links: branch diff | manifest | tags
Context
2000-09-14
09:59:08
Added -viewlevel switch check-in: 8d731c6bed user: gawthrop@users.sourceforge.net tags: origin/master, trunk
09:53:17
Default is zero check-in: 99faef62e3 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
09:48:45
Initial revision check-in: 7c9be095dd user: gawthrop@users.sourceforge.net tags: origin/master, trunk
Changes

Modified mttroot/mtt/bin/trans/mtt_multi from [287aaaa69d] to [f11b785f2c].

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/sh

# Does mutiple commands down the hierarchy

command=$1
system=$2
rep=$3
lang=$4
maxlevel=$5

if [ -z "$maxlevel" ]; then
  maxlevel=1;    
fi

ls $2*_$3.$4 |\
awk '{
  level=split($1,foo,"_")-2; 
  if (level<=maxlevel) print command, $0, "&";
'} command=$command maxlevel=$maxlevel











|







1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/sh

# Does mutiple commands down the hierarchy

command=$1
system=$2
rep=$3
lang=$4
maxlevel=$5

if [ -z "$maxlevel" ]; then
  maxlevel=0;    
fi

ls $2*_$3.$4 |\
awk '{
  level=split($1,foo,"_")-2; 
  if (level<=maxlevel) print command, $0, "&";
'} command=$command maxlevel=$maxlevel


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