22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
rm -f mtt_error
# This is the main transformation using awk
# And remove crs with same name as system
grep 'cr = ' $1_abg.m | awk '
BEGIN {
# Include lin cr anyway.
print "lin"
}
{
crs=substr($3,2,length($3)-3);
N=split(crs,cr,";");
|
|
|
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
rm -f mtt_error
# This is the main transformation using awk
# And remove crs with same name as system
grep 'cr = ' $1_abg.m | gawk '
BEGIN {
# Include lin cr anyway.
print "lin"
}
{
crs=substr($3,2,length($3)-3);
N=split(crs,cr,";");
|