Leaked source code of windows server 2003
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

  1. /rcNameID/ || /OptionID/ {
  2. if ($2 !~ /^[0-9]/) { print; next }
  3. if ($2 == 258) id=259;
  4. else if ($2 == 259) id=263;
  5. else if ($2 >= 260 && $2 <= 305) id=$2 + 7;
  6. else { print "*Error: Unknown NameID: " $2; next }
  7. print " " $1 " " id
  8. next
  9. }
  10. { print }