home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 15 / BBS in a box XV-2.iso / Files II / Prog / M / MacPerl 4.13 source.sit / Perl Source ƒ / Perl / UnLocalize < prev    next >
Encoding:
Text File  |  1993-10-23  |  205 b   |  13 lines  |  [TEXT/MPS ]

  1. Perl -Sx "{0}" "{1}">"{2}" && Duplicate -y "{2}" "{1}" && Delete -y "{2}"
  2. Exit
  3.  
  4. #!/usr/bin/perl
  5.  
  6. while (<>) {
  7.     if (/^(.*=)(\s*\S+)(\s*)(###DEFAULT:)(.*)/) {
  8.         print "$1$5$3$4$5\n";
  9.     } else {
  10.         print;
  11.     }
  12. }
  13.