Home  |  Linux  | Mysql  | PHP  | XML
From:Richard Lee Date:Wed May 14 14:41:11 2008
Subject:faster ways than perl?
I am running this command on over 2 gigs worth of lines....

which one should be faster?

cut -d'|' -f21 * | sort | uniq -c | sort


perl -F"\|"  -lane 'print $F[21]' * | sort | uniq -c | sort


or is there faster ways to do this on perl?
Navigate in group perl.beginners at sever nntp.perl.org
Previous Next




  
© No Copyright
You are free to use Anything
Site Maintained by PHP Developer
Powered By PHP Consultants