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.
 
 
 
 
 
 

11 lines
320 B

$start = "one two Variable three four";
$stop = 14; # $ARGV[1];
#$ARGV[0];
#printf("Opening Filename: printing from characters [%d..%d]\n",$start,$stop);*/
while(<STDIN>)
{
($temp = $_) =~ s/$ARGV[0]/$ARGV[1]/im;
# $temp = substr($_,$start,$stop);
print $temp; # ,"\n";
}