[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Inconsistent handling of patterns with backslah (`\`) escaping
|
From: |
Andreas Schwab |
|
Subject: |
Re: Inconsistent handling of patterns with backslah (`\`) escaping |
|
Date: |
Mon, 01 Jun 2026 10:53:08 +0200 |
|
User-agent: |
Gnus/5.13 (Gnus v5.13) |
On Jun 01 2026, Duncan Roe wrote:
> There's actually a real bug in here:
>
> | 16:25:38$ bar='\**'
> | 16:25:43$ echo $bar
> | \**
> | 16:25:51$ touch '*'
> | 16:26:08$ echo $bar
> | *
>
>
> The behaviour of `echo $bar` changed after `touch '*'`.
File name expansion always depends on the contents of the file system.
--
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."
Re: Inconsistent handling of patterns with backslah (`\`) escaping, Duncan Roe, 2026/06/01
- Re: Inconsistent handling of patterns with backslah (`\`) escaping,
Andreas Schwab <=
Re: Inconsistent handling of patterns with backslah (`\`) escaping, Andrei Borzenkov, 2026/06/01
Re: Inconsistent handling of patterns with backslah (`\`) escaping, Chet Ramey, 2026/06/01
Re: Inconsistent handling of patterns with backslah (`\`) escaping, Chet Ramey, 2026/06/01