[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: bash scripting q



On Fri, Sep 29, 2006 at 08:02:38AM -0500, Hugo Vanwoerkom wrote:
> Kevin Mark wrote:
> >On Wed, Sep 27, 2006 at 09:22:05PM -0500, Ron Johnson wrote:
> >>how about
> >>  b=`$a`
> >>  echo $b
> >
> >or 
> >echo $($a)
> 
> 
> Bingo!!! Thanks!
> Is that in the Advanced Bash-Scripting Guide?
> H
> 
Hi Hugo,
A is used for assignment of A
$A is to show the value of A
$($A) is to evaluate the command string that $A returns
`$A` is the old way and I think more compatible
cheers,
Kev
-- 
|  .''`.  == Debian GNU/Linux == |       my web site:       |
| : :' :      The  Universal     | debian.home.pipeline.com |
| `. `'      Operating System    | go to counter.li.org and |
|   `-    http://www.debian.org/ |    be counted! #238656   |
|     my keysever: pgp.mit.edu   |     my NPO: cfsg.org     |

Attachment: signature.asc
Description: Digital signature


Reply to: