[Top][All Lists]
[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:address@hidden
Sent: Thursday, May 10, 2007 2:06 AM
To: Cooper, Garrett W
Cc: address@hidden; address@hidden
Subject: Re: Characters aren't being properly escaped/evaluated in a Bash
address@hidden 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, address@hidden
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."