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.

17 lines
392 B

  1. ($1 ~ /rcNameID/ || $1 ~ /OptionID/) && $2 ~ /^[0-9]*$/ {
  2. if ($2 == "267")
  3. $2 = "400";
  4. else {
  5. print "*Unknown: ID";
  6. next;
  7. }
  8. print " " $0;
  9. next;
  10. }
  11. /{NumOfCopies/ { gsub(/{NumOfCopies/,"[1,99]{NumOfCopies") }
  12. { print }
  13. END {
  14. print "*Command: CmdCR { *Cmd: \"<0D>\" }"
  15. print "*Command: CmdLF { *Cmd: \"<0A>\" }"
  16. print "*Command: CmdFF { *Cmd: \"<0C>\" }"
  17. }