Hi I have a litle script and want to write it in one line
I dont know how to do that .. here is the script.
I dont know how to do that .. here is the script.
Code:
#!/usr/bin/perl
open(FILE1, "<marenden");
open(FILE3, ">>result");
while($line = <FILE1>) {
chop($line);
$temp=`grep $line file2.txt`;
print FILE3 $temp;
}
Comment