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.

20 lines
668 B

  1. ($1 ~ /rcNameID/ || $1 ~ /OptionID/) && $2 ~ /^[0-9]*$/ {
  2. if ($2 == "270") $2 = "600";
  3. else if ($2 == "271") $2 = "601";
  4. else if ($2 == "272") $2 = "602";
  5. else if ($2 == "262") $2 = "258";
  6. else if ($2 == "263") $2 = "259";
  7. else if ($2 == "266") $2 = "262";
  8. else if ($2 == "267") $2 = "263";
  9. else if ($2 == "268") $2 = "264";
  10. else if ($2 == "322") $2 = "315";
  11. else if ($2 == "324") $2 = "316";
  12. else if ($2 == "325") $2 = "317";
  13. else if ($2 == "326") $2 = "318";
  14. else if ($2 == "327") $2 = "319";
  15. else { print "*Unknown: ID"; next; }
  16. print " " $0;
  17. next;
  18. }
  19. /{NumOfCopies/ { gsub(/{NumOfCopies/,"[1,99]{NumOfCopies") }
  20. { print }