[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
$var invokes function?
From: |
jscripter |
Subject: |
$var invokes function? |
Date: |
Fri, 7 Aug 2009 12:12:04 -0700 (PDT) |
Hi,
Is it possible to create a variable whose value is determined by a function?
Silly example: somehow define $today to return the output of /bin/date
and that way one can write: echo today is $today
Thanks,
--
View this message in context:
http://www.nabble.com/%24var-invokes-function--tp24870314p24870314.html
Sent from the Gnu - Bash mailing list archive at Nabble.com.
- $var invokes function?,
jscripter <=