[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Quotes expanded incorrectly from backticks
From: |
Paul Jarc |
Subject: |
Re: Quotes expanded incorrectly from backticks |
Date: |
Mon, 02 Jun 2003 13:33:00 -0400 |
User-agent: |
Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3 (gnu/linux) |
Mark Thomas <mbt99@doc.ic.ac.uk> wrote:
> Quotes in the output of a backtick command aren't expanded
> correctly.
The behavior you're seeing is the intended behavior. man bash:
Quote Removal
After the preceding expansions, all unquoted occurrences of the charac-
ters \, ', and " that did not result from one of the above expansions
are removed.
Since the quotes resulted from command substitution, they aren't
supposed to be removed.
paul