![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Comparing two files | kbirde | Shell Programming and Scripting | 4 | 05-06-2009 02:31 AM |
| comparing of two files with output which is not in both files | suryanarayana | Shell Programming and Scripting | 2 | 02-04-2009 08:41 AM |
| Comparing two different files | Mavericc | Shell Programming and Scripting | 4 | 09-09-2008 06:32 AM |
| Comparing two files | kingofprussia | UNIX for Dummies Questions & Answers | 2 | 08-01-2007 01:25 PM |
| comparing shadow files with real files | terrym | UNIX for Advanced & Expert Users | 4 | 02-09-2007 02:38 AM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Comparing files
Hi
I have 2 files file1 a|b|c|d|e|1 a|b|c|d|e|1 a|b|c|d|e|2 a|b|c|d|e|3 a|b|c|d|e|1 file2 a1|b1|c1|d1|e1|11 a1|b1|c1|d1|e1|2 a1|b1|c1|d1|e1|3 a1|b1|c1|d1|e1|11 I want to create a new file only if 6th field match. In this case it should be a1|b1|c1|d1|e1|2 a1|b1|c1|d1|e1|3 There should be a simple way using awk. I tried doing cut and grep but its taking hours Please help me Adarsh |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|