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:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
NeXTSTEP
RISC OS/Acorn
UTF-8
Wrap
Text File
|
1993-10-23
|
205 b
|
13 lines
|
[
TEXT/MPS
]
Perl -Sx "{0}" "{1}">"{2}" && Duplicate -y "{2}" "{1}" && Delete -y "{2}"
Exit
#!/usr/bin/perl
while (<>) {
if (/^(.*=)(\s*\S+)(\s*)(###DEFAULT:)(.*)/) {
print "$1$5$3$4$5\n";
} else {
print;
}
}