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.

18 lines
596 B

  1. ($1 ~ /rcNameID/ || $1 ~ /OptionID/) && $2 ~ /^[0-9]*$/ {
  2. if ($2 == "269") $2 = "603";
  3. else if ($2 == "260") $2 = "258";
  4. else if ($2 == "264") $2 = "262";
  5. else if ($2 == "265") $2 = "263";
  6. else if ($2 == "266") $2 = "264";
  7. else if ($2 == "321") $2 = "315";
  8. else if ($2 == "322") $2 = "316";
  9. else if ($2 == "323") $2 = "317";
  10. else if ($2 == "324") $2 = "318";
  11. else if ($2 == "325") $2 = "319";
  12. else if ($2 == "326") $2 = "320";
  13. else { print "*Unknown: ID"; next; }
  14. print " " $0;
  15. next;
  16. }
  17. /{NumOfCopies/ { gsub(/{NumOfCopies/,"[1,99]{NumOfCopies") }
  18. { print }