[Jprogramming] Run and time a script

David Vaughan purpleblues13 at googlemail.com
Sat Nov 5 21:33:35 HKT 2011


How can I both run a script (displaying the output) and also display its time and space in one verb?

If I do this:

ts '0!:1< script'

I get the script appearing twice with the time and space below. What I want is the same behaviour but with the script only showing once.

Can anyone help? Thanks.


More information about the Programming mailing list