![]() |
|
|
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 |
| compare files | spt | Shell Programming and Scripting | 1 | 05-09-2008 11:57 AM |
| compare two files | fredao | Shell Programming and Scripting | 17 | 01-31-2007 07:39 AM |
| Compare files | Berserk | Shell Programming and Scripting | 6 | 09-05-2005 05:04 AM |
| compare files again | ithomp | Shell Programming and Scripting | 2 | 06-17-2004 04:46 AM |
| help! need to compare files | danielsf | Shell Programming and Scripting | 6 | 07-09-2003 06:09 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
How to compare to files
I have these two files:
file1 NPANXX|BILLDATE|DIVCODE|COMID|RAO|LIKECODE|BOSS|SORD|STATECODE| 087001|BP01|H|SWBT| |041|IMR6|IMSR6|AR| 087002|BP03|H|SWBT| |042|IMR6|IMSR6|AR| 087003|BP05|H|SWBT| |043|IMR6|IMSR6|AR| ... file2 06300100009999OK 06300200009999OK i want to extract the first six digits of the file2 then the extracted digits will be compared to file1 if match are found it will be extracted and they will be put in a new directory. Im planning to use cut but i dont know how.please help. |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|