sobering observation, python vs. perl

Charles T. Smith cts.private.yahoo at gmail.com
Thu Mar 17 11:40:33 EDT 2016


On Thu, 17 Mar 2016 15:29:47 +0000, Charles T. Smith wrote:

And for completeness, and also surprising:

time sed -n -e '/ is ready/{s///;h}' -e '/release_req/{g;p}'  *.out | sort -u
TestCase_F_00_P
TestCase_F_00_S
TestCase_F_01_S
TestCase_F_02_M

real    0m10.998s
user    0m10.885s
sys     0m0.108s

Twice as long as perl...  I guess there's no excuse for sed anymore...



More information about the Python-list mailing list