bug-bash
[Top][All Lists]
Advanced

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

Re: Inconsistent handling of patterns with backslah (`\`) escaping


From: Chet Ramey
Subject: Re: Inconsistent handling of patterns with backslah (`\`) escaping
Date: Mon, 1 Jun 2026 09:41:47 -0400
User-agent: Mozilla Thunderbird

On 6/1/26 4:08 AM, Andrei Borzenkov wrote:

Because '\*' is not a glob, so filename expansion is not performed.


If this is not a glob, I expect '\' to be stripped (quote removal)
before the result is used in the command.

Quote removal doesn't apply to the results of expansion, only to quoting
characters in the original word.

--
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    chet@case.edu    http://tiswww.cwru.edu/~chet/

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature


reply via email to

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