If you don't mind trading granularity for portability, you can make use of the magic variable $^T at the end of your script ...
END { printf "Took %d seconds to run.\n", time - $^T; }
--k.
In reply to Re: Re: time taken for prog to finish..
by Kanji
in thread time taken for prog to finish..
by agustina_s
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |