For Programmers: Free Programming Magazines  


Home > Archive > AWK > March 2004 > operation between 2 files









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author operation between 2 files
Salvatore

2004-03-19, 8:24 pm

Hi,
I have two files, say file_A and file_B

# cat file_A

0714-pippo-sia-w2k-ep
0714-pluto-reg-w2k-ep
0714-gigio-sic-sun-ep
0856-rossi-sia-w2k-ep
0564-bianchi-sil-syn-ep
.....
.....

# cat file_B

0714-pippo-gw
0856-rossi-gw
.....
......
I want to have an output from teh 2 precedent files like this:

0714-pluto-reg-w2k-ep
0714-gigio-sic-sun-ep
0564-bianchi-sil-syn-ep
...
....

the output file have the file_A whitout the lines that contain the name in
the file_B.....

How to acheive this?

Please help me....

thanks in advance


Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com