[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Characters aren't being properly escaped/evaluated in a Bash
From: |
Cooper, Garrett W |
Subject: |
RE: Characters aren't being properly escaped/evaluated in a Bash |
Date: |
Thu, 10 May 2007 11:22:26 -0700 |
Andreas,
This doesn't work unfortunately, and yields the same errors seen with
the backticks.
-Garrett
-----Original Message-----
From: Andreas Schwab [mailto:schwab@suse.de]
Sent: Thursday, May 10, 2007 2:06 AM
To: Cooper, Garrett W
Cc: bug-bash@gnu.org; youshi10@u.washington.edu
Subject: Re: Characters aren't being properly escaped/evaluated in a Bash
garrett.w.cooper@intel.com writes:
> Fix:
> The problem lies in the parser somewhere,
The problem is that you are not correctly quoting. Better use $(...)
instead of `...`, that is easier for beginners to get right.
Andreas.
--
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."