View Single Post
Old 01-01-2008, 06:44 AM  
teksonline
So Fucking Banned
 
Join Date: Jan 2005
Location: At My Desk
Posts: 2,904
perl and unix
cat 1.csv >>newfile.csv|cat 2.csv >>newfile.csv | sort newfile.csv
open (FILE, '<<newfile.csv');
@LINES = <FILE>;
foreach $line (@Lines) {
chomp $line;
($foo, $moo, $stew, $coo, $poo) = splice(',', $line);
//I can do anything now with this line now
}
teksonline is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote