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.

14 lines
374 B

  1. /rcNameID/ || /OptionID/ {
  2. if ($2 !~ /^[0-9]/) { print; next }
  3. if ($2 == 258) id=270;
  4. else if ($2 == 259) id=258;
  5. else if ($2 == 260) id=259;
  6. else if ($2 == 261) id=260;
  7. else if ($2 == 262) id=261;
  8. else if ($2 == 263) id=271;
  9. else if ($2 == 264) id=272;
  10. else { print "*Error: Unknown NameID: " $2; next }
  11. print " " $1 " " id
  12. next
  13. }
  14. { print }