45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
|
{
## Explicit VAR declarations
if (match($1,var)>0) print $2 "\t" system_name;
## Implicit declarations from the arg list
if (match($1,"arg")>0) {
args=substr($3,2,length($3)-3);
print args
}
}' system_name=$2 |\
grep -v '^\$' | mtt_strip_args |\
sort -u > $1_sympar.txt 2>mtt_error.txt
# Now invoke the standard error handling.
mtt_error mtt_error.txt
|
|
>
|
|
|
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
|
{
## Explicit VAR declarations
if (match($1,var)>0) print $2 "\t" system_name;
## Implicit declarations from the arg list
if (match($1,"arg")>0) {
args=substr($3,2,length($3)-3);
if (length(args)>0)
printf("%s\t%s\n", args,system_name)
}
}' system_name=$2 |\
grep -v '^\$' | mtt_strip_args |\
sort -u #> $1_sympar.txt 2>mtt_error.txt
# Now invoke the standard error handling.
#mtt_error mtt_error.txt
|