Overview
Comment:\. \# \% all gave \ removed to avoid warning in new gawk
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | origin/master | trunk
Files: files | file ages | folders
SHA3-256: 4fedb975d6ed2f6db29e59b821db3f17d89193a31e5ab78538012c7399a7a8bd
User & Date: gawthrop@users.sourceforge.net on 2002-04-19 09:13:11
Other Links: branch diff | manifest | tags
Context
2002-04-19
09:24:29
2 changes to ode2odes_out generation: only compiles the specified c
file; outside the computation=c clause
check-in: 8c252a7812 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
09:13:11
\. \# \% all gave \ removed to avoid warning in new gawk check-in: 4fedb975d6 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
08:39:45
Changed \# to # and \% to # to avoid warning in latest gawk version check-in: 6e2e0a04c3 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
Changes

Modified mttroot/mtt/bin/trans/mtt_p2m from [2649f1483b] to [2ad4e8ad5c].

9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
sed 's/:=/ = /' |\
sed 's/\*\*/\^/g' |\
sed 's/mtt\([a-z]\)\([a-z]*\)\([0-9]\)\([0-9]*\)/mtt\1\2(\3\4)/g' |\
awk '{
  sub(/^[\ ]*/, "", $0)
  sub(/\$$/, ";", $0)
  
  if (match($NF,"[;\#\.\%]$")==0){
    Previous[++i] = $0
  }
  else {
    for (j=1;j<=i;j++) printf("%s", Previous[j]);
    printf("%s\n", $0) 
    i=0;
  }
}' |\
sed 's/#/%/g'







|









9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
sed 's/:=/ = /' |\
sed 's/\*\*/\^/g' |\
sed 's/mtt\([a-z]\)\([a-z]*\)\([0-9]\)\([0-9]*\)/mtt\1\2(\3\4)/g' |\
awk '{
  sub(/^[\ ]*/, "", $0)
  sub(/\$$/, ";", $0)
  
  if (match($NF,"[;#.%]$")==0){
    Previous[++i] = $0
  }
  else {
    for (j=1;j<=i;j++) printf("%s", Previous[j]);
    printf("%s\n", $0) 
    i=0;
  }
}' |\
sed 's/#/%/g'


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