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.

22 lines
365 B

  1. @rem = '-*- Mode: Perl -*-
  2. @goto endofperl
  3. ';
  4. $maxlen = 250;
  5. $H = "[0-9A-Fa-f]";
  6. while (<ARGV>) {
  7. chop;
  8. if (/^(\s*$H+:$H+\s*)(\S+)(.*$)/ &&
  9. length($2) > $maxlen) {
  10. $f = substr($2,0,$maxlen);
  11. print "$1$f$3\n";
  12. } else {
  13. print "$_\n";
  14. }
  15. }
  16. __END__
  17. :endofperl
  18. @perl %0 %1 %2 %3 %4 %5 %6 %7 %8 %9