Differences From Artifact [bf57433f38]:
- Executable file mttroot/mtt/bin/trans/mtt_p2m — part of check-in [98b92713ca] at 1998-08-13 08:35:40 on branch origin/master — extended end of line regexp to include . and # (user: gawthrop@users.sourceforge.net, size: 317) [annotate] [blame] [check-ins using]
To Artifact [09a0ccbaff]:
- Executable file mttroot/mtt/bin/trans/mtt_p2m — part of check-in [69270d7f2b] at 1998-08-13 12:37:45 on branch origin/master — Puts mttu1 --> mttu(1) etc. (user: gawthrop@users.sourceforge.net, size: 375) [annotate] [blame] [check-ins using]
1 2 3 4 5 6 7 8 9 10 11 12 13 |
#! /bin/sh
sed 's/begin//' |\
sed 's/end//' |\
sed 's/\[\([0-9,]*\)\]/(\1)/g' |\
sed 's/:=/ = /' |\
awk '{
sub(/^[\ ]*/, "", $0)
sub(/\$$/, ";", $0)
if (match($NF,"[;\#\.]$")==0){
Previous[++i] = $0
}
| > | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
#! /bin/sh
sed 's/begin//' |\
sed 's/end//' |\
sed 's/\[\([0-9,]*\)\]/(\1)/g' |\
sed 's/:=/ = /' |\
sed 's/mtt\([a-z]*\)\([0-9]\)\([0-9]*\)/mtt\1(\2\3)/g' |\
awk '{
sub(/^[\ ]*/, "", $0)
sub(/\$$/, ";", $0)
if (match($NF,"[;\#\.]$")==0){
Previous[++i] = $0
}
|
| ︙ | ︙ |