mirror of https://github.com/tongzx/nt5src
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.
18 lines
426 B
18 lines
426 B
#Flush output buffer for remote.exe
|
|
select(STDOUT); $|=1;
|
|
|
|
$old="= 49100,\"";
|
|
$new="= -1,\"".@ARGV[0]."\\";
|
|
|
|
while (defined($_ = <STDIN>))
|
|
{
|
|
$myline=$_;
|
|
$myline=s/^.*CatalogFile=.*$//i;
|
|
$myline=s/^.*AddReg=.*$//i;
|
|
$myline=s/^.*DelReg=.*$//i;
|
|
$myline=s/^.*symbols.inf,,,4.*$//i;
|
|
$myline=s/^.*CustomDestination=.*$//i;
|
|
$myline=s/^.*EndPrompt=.*$//i;
|
|
$myline=s/$old/$new/;
|
|
print $_;
|
|
}
|