Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Sorry, bash wins.' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Sorry, bash wins.
Authored by: bm on Jan 25, '07 11:46:07PM
merlyn:
That's not faster at all. Even with an added command in bash (see below), 'time' reports:
  bash
real    0m44.014s
user    0m11.898s
sys     0m25.316s

  perl
real    0m55.462s
user    0m0.302s
sys     0m0.172s
One caveat: that's bash 3.2.9 -- the latest, while perl remains at 5.8.7;
..the bash-code used an additional 'sed' to escape whitespacing in $PATH.

[ Reply to This | # ]