Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Feb 2002 00:14:36 +0100
From:      Cliff Sarginson <csfbsd@raggedclown.net>
To:        freebsd-questions@freebsd.org
Subject:   Re: BASH programming question
Message-ID:  <20020220231436.GA658@raggedclown.net>
In-Reply-To: <20020221000224.A32489@nigsch.com>
References:  <5.1.0.14.2.20020220160637.02763050@pop.earthlink.net> <5.1.0.14.2.20020220160637.02763050@pop.earthlink.net> <20020220224520.A31541@nigsch.com> <5.1.0.14.2.20020220165911.01e189a0@pop.earthlink.net> <20020221000224.A32489@nigsch.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Feb 21, 2002 at 12:02:24AM +0100, Florian Nigsch wrote:
> hi!
> 
> you should use $(command) - it's the same as the backquotes `` which
> are only provided in bash 2* for backwards compatibility to bash 1*
> 
Mmm..also for backwards compatibility with old-foggies like me..who
still use back-ticks.. no *should* about it...

Although since one of the biggest pains in the bum in shell programming
is hunting down missing quotes of any kind in large shell scripts, your
advice is probably sound.. 

-- 
Regards
   Cliff Sarginson -- <csfbsd@raggedclown.net>

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020220231436.GA658>