![]() |
|
|
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 |
| Duplicate rows in CSV files based on values | Incrediblian | Shell Programming and Scripting | 8 | 04-26-2009 10:35 PM |
| perl script to print to values in rows and columns | nogu0001 | Shell Programming and Scripting | 3 | 02-22-2009 04:30 PM |
| add new rows in list of files | koti_rama | Shell Programming and Scripting | 1 | 02-02-2009 08:33 AM |
| Counting rows in many files | DrZoidberg | UNIX for Dummies Questions & Answers | 7 | 09-02-2008 09:29 AM |
| Concatenate rows in to 2 files | unxusr123 | Shell Programming and Scripting | 1 | 08-01-2008 06:29 AM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Hi Guys
,I have two files. filea: 12:20:23 4 12:21:23 3 12:22:23 2 12:25:23 3 fileb: 11:20:23 4 12:21:23 3 12:22:23 2 12:26:23 3 12:30:23 3 The result will be: 11:20:23 4 12:20:23 4 12:21:23 6 12:22:23 4 12:25:23 3 it means: 1. if the 1st column same in two files, then plus the value in the 2nd value. 2. the date in fileb if greater than the last line in filea, then ignore. Thanks |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|