$ 0 0 $ perl -ne 'split /,/ ; $a+= $_[3]; END {print $a."\n";}' -f ./file.csv View this command to comment, vote or add to favourites View all commands by ioggstream by David Winterbottom (codeinthehole.com)