![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Filter data from text file | b_sri | Windows & DOS: Issues & Discussions | 18 | 04-16-2008 11:41 AM |
| validation of data using filter (awk or other that works...) in csv files | Rafael.Buria | Shell Programming and Scripting | 1 | 03-05-2008 02:36 PM |
| AIX printer filter | blacksm | AIX | 4 | 08-29-2007 05:58 AM |
| Filter using awk | arun_st | UNIX for Dummies Questions & Answers | 3 | 03-21-2007 08:20 AM |
| ftp by date filter | campbem | UNIX for Dummies Questions & Answers | 1 | 02-11-2004 02:44 PM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
filter data
Hi
I have two files and their names are donotcall.txt, filter_it.txt. I want output.txt file with all data that is in filter_it.txt file but not in donotcall.txt. Can anybody help me to write 1-2 lines unix code for this. donotcall.txt contains following data. Each row represent phone numbers. 321,2020331 321,2020344 321,2020407 321,2020473 321,2020474 321,2020475 321,2020490 321,2020503 321,2020505 321,2020506 321,2020511 filter_it.txt contains following data 407,6285433 866,3433700 321,2020505 866,5225433 407,6540820 407,2659599 321,2020407 I want output.txt file with all data that is in filter_it.txt file but not in donotcall.txt. Can anybody help me to write 1-2 lines unix code for this. eg. 407,6285433 866,3433700 321,2020505 <------ Remove it because it is present in rejected.txt 866,5225433 407,6540820 407,2659599 321,2020407 <------ Remove it because it is present in rejected.txt Thanks Deep |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|