![]() |
|
|
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 |
| Awking!! Printing decimal output is struck | divzz | Shell Programming and Scripting | 4 | 05-28-2008 09:02 AM |
| Splitting huge XML Files into fixsized wellformed parts | Malapha | Shell Programming and Scripting | 0 | 03-17-2008 11:35 AM |
| grepping many values from same files | Sreejith_VK | Shell Programming and Scripting | 2 | 03-15-2008 08:41 AM |
| grepping lines out of files | mariner | UNIX for Advanced & Expert Users | 2 | 09-24-2004 09:12 AM |
| diff 2 files; output diff's to 3rd file | blt123 | Shell Programming and Scripting | 2 | 05-28-2002 12:29 PM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
awking and grepping parts of files: the 'super diff'
OKAY----
Here's what I must do. I have two files. I need to compare the two files such as with the diff command. I am adding FILENEW to FILEOLD If fields $1, $2, $5, and 6 are the same, then I don't want to add FILENEW records to FILEOLD. If they are not, then append the lines. Is this possible in the UNIX scripting world? It seems that this could be done in AIX. I also have Perl as a last resort. Looking hard, wondered if anyone has done something like this before. ![]() |
| Bookmarks |
| Tags |
| awk, grep |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|