From owner-freebsd-questions Wed Feb 20 15:14:42 2002 Delivered-To: freebsd-questions@freebsd.org Received: from post.mail.nl.demon.net (post-10.mail.nl.demon.net [194.159.73.20]) by hub.freebsd.org (Postfix) with ESMTP id 24B1437B400 for ; Wed, 20 Feb 2002 15:14:39 -0800 (PST) Received: from [212.238.194.207] (helo=mailhost.raggedclown.net) by post.mail.nl.demon.net with esmtp (Exim 3.33 #1) id 16dfwb-00067p-00 for freebsd-questions@freebsd.org; Wed, 20 Feb 2002 23:14:37 +0000 Received: from angel.raggedclown.net (angel.raggedclown.intra [192.168.1.7]) by mailhost.raggedclown.net (Ragged Clown Mail Gateway [buffy]) with ESMTP id 21A2C13040 for ; Thu, 21 Feb 2002 00:14:37 +0100 (CET) Received: by angel.raggedclown.net (Ragged Clown Host [angel], from userid 6002) id 8493F22590; Thu, 21 Feb 2002 00:14:36 +0100 (CET) Date: Thu, 21 Feb 2002 00:14:36 +0100 From: Cliff Sarginson To: freebsd-questions@freebsd.org Subject: Re: BASH programming question Message-ID: <20020220231436.GA658@raggedclown.net> 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> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020221000224.A32489@nigsch.com> User-Agent: Mutt/1.3.27i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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 -- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message