You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
270 B
10 lines
270 B
/rcNameID/ || /OptionID/ {
|
|
if ($2 !~ /^[0-9]/) { print; next }
|
|
if ($2 == 258) id=259;
|
|
else if ($2 == 259) id=263;
|
|
else if ($2 >= 260 && $2 <= 305) id=$2 + 7;
|
|
else { print "*Error: Unknown NameID: " $2; next }
|
|
print " " $1 " " id
|
|
next
|
|
}
|
|
{ print }
|