in reply to Process and combine two CSV files into one
Update: or from the shell (unsophisticated sorting though, else it lengthens a bit):%c = ( %a, %b);
cat file1 file2 | perl -e 'while(<>){ /^((\d+\.){3}\d+)(.*)$/ and $c{ +$1 } = $1 . $2; } print values %c; ' | sort > file3;
One world, one people
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Process and combine two CSV files into one
by DrAxeman (Scribe) on Aug 09, 2005 at 17:13 UTC | |
|
Re^2: Process and combine two CSV files into one
by DrAxeman (Scribe) on Aug 09, 2005 at 20:34 UTC | |
by Thargor (Scribe) on Aug 09, 2005 at 21:23 UTC | |
by DrAxeman (Scribe) on Aug 09, 2005 at 21:44 UTC | |
by Thargor (Scribe) on Aug 11, 2005 at 16:56 UTC | |
|
Re^2: Process and combine two CSV files into one
by DrAxeman (Scribe) on Aug 09, 2005 at 21:51 UTC | |
by anonymized user 468275 (Curate) on Aug 15, 2005 at 08:02 UTC |