On Thu, May 22, 2008 at 2:52 PM, John W. Krahn <[EMAIL PROTECTED]> wrote:
> 32134
> $ grep -f A.txt -wv B.txt
> 82134
>
Ouch, i never think that it can be so easy!!
Thanks.
--budhi
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.
beast wrote:
Good morning,
Hello,
I have 2 files which contains some IDs. Basically I want to search ID
in the file A which is missing on the file B.
This program is ugly, but its work :-)
use strict;
my $target_file = "B.txt";
while(<>) {
chomp;
my $res = `grep $_ $targe
On Wed, May 21, 2008 at 9:40 PM, beast <[EMAIL PROTECTED]> wrote:
> Good morning,
>
> I have 2 files which contains some IDs. Basically I want to search ID
> in the file A which is missing on the file B.
>
> This program is ugly, but its work :-)
>
> use strict;
>
> my $target_file =
Good morning,
I have 2 files which contains some IDs. Basically I want to search ID
in the file A which is missing on the file B.
This program is ugly, but its work :-)
use strict;
my $target_file = "B.txt";
while(<>) {
chomp;
my $res = `grep $_ $target_file`;
print "$_ is