Ron Johnson wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 09/27/06 18:51, Hugo Vanwoerkom wrote:Hi, On my way to elapsed time in a bash script, I created the do_chrono command. It pumps the elapsed time to stdout. So if I do: a=do_chrono and then: $a I get: 0:3:19. Problem: I can't use that $a anywhere, e.g. if I say: echo $a I would expect to see 0:3:19 again, but I don't, it says do_chrono How do I use that $a in command parameters, like logger?how about b=`$a` echo $b
$a