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.

31 lines
373 B

  1. @rem = '
  2. @goto endofperl
  3. ';
  4. $USAGE = "
  5. Usage: $0 InputFiles
  6. extract all records pairs that have cnf: in them.
  7. These indicate DS object name collisions.
  8. ";
  9. die $USAGE unless @ARGV;
  10. $save = "";
  11. while (<>) {
  12. if (m/cnf:|del:/i) {
  13. print $save;
  14. print;
  15. }
  16. $save = $_;
  17. }
  18. __END__
  19. :endofperl
  20. @perl %~dpn0.cmd %*