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.

45 lines
853 B

  1. BEGIN {
  2. rcmap[258] = 279;
  3. rcmap[259] = 280;
  4. rcmap[260] = 317;
  5. rcmap[261] = 319;
  6. rcmap[262] = 321;
  7. rcmap[263] = 323;
  8. rcmap[264] = 325;
  9. rcmap[265] = 327;
  10. rcmap[266] = 329;
  11. rcmap[267] = 331;
  12. rcmap[268] = 333;
  13. rcmap[269] = 335;
  14. rcmap[270] = 337;
  15. rcmap[271] = 339;
  16. rcmap[272] = 341;
  17. rcmap[273] = 343;
  18. rcmap[274] = 345;
  19. rcmap[275] = 347;
  20. rcmap[276] = 349;
  21. rcmap[277] = 351;
  22. rcmap[278] = 353;
  23. rcmap[279] = 355;
  24. rcmap[280] = 357;
  25. rcmap[281] = 359;
  26. rcmap[282] = 361;
  27. rcmap[283] = 363;
  28. rcmap[284] = 365;
  29. rcmap[285] = 367;
  30. rcmap[286] = 369;
  31. rcmap[287] = 371;
  32. rcmap[288] = 373;
  33. rcmap[289] = 374;
  34. rcmap[290] = 385;
  35. rcmap[291] = 386;
  36. rcmap[292] = 387;
  37. }
  38. /(rcNameID|OptionID):.[0-9]/ {
  39. if ($2 in rcmap)
  40. gsub(/[0-9]*$/, rcmap[$2])
  41. else
  42. print "*Error: Unknown rcID: " $2
  43. }
  44. { print }