bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Backslash missing in brace expansion


From: Robert Elz
Subject: Re: Backslash missing in brace expansion
Date: Sat, 07 Dec 2019 00:23:03 +0700

    Date:        Fri, 6 Dec 2019 05:53:04 +0100
    From:        Martin Schulte <address@hidden>
    Message-ID:  <address@hidden>

  | Yes - sure. But then I'm wondering why the unquoted backtick doesn't
  | start command substitution:

Too late.   Syntax elements must be recognised by the parser, they cannot
(ever) appear from an expansion (if that's needed an "eval" is required).

I'm not sure I accept the explanation for the \ missing though, quoting is
also a parser activity (though some of it also happens in pattern matching).
But normally, backslashes (or any other form of quoting) that result from
expansions are simply characters.   Quote removal is only supposed to remove
quotes that were present on the original command line.

kre




reply via email to

[Prev in Thread] Current Thread [Next in Thread]