[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: xtrace ansi quoting vs shell metas
From: |
Chet Ramey |
Subject: |
Re: xtrace ansi quoting vs shell metas |
Date: |
Mon, 26 Jun 2023 16:58:00 -0400 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.12.0 |
On 6/24/23 9:40 PM, Grisha Levit wrote:
When printing the command for xtrace, if a word or assignment rhs contains
a shell meta character, ansi quoting is not applied even if it otherwise
should be.
Thanks for the report. It seems reasonable to prioritize ansic-quoting over
shell-metacharacter quoting.
Chet
--
``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/