bug-bash
[Top][All Lists]
Advanced

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

Not missing, but very hard to see (was Re: Backslash missing in brace ex


From: L A Walsh
Subject: Not missing, but very hard to see (was Re: Backslash missing in brace expansion)
Date: Thu, 12 Dec 2019 11:43:58 -0800
User-agent: Thunderbird

On 2019/12/06 14:14, Chet Ramey wrote:

Seems very hard to print out that backquote though.  Closest I got
was bash converting it to "''":

 read -r -a a< <(printf "%q " {Z..a})
 my -p a
declare -a a=([0]="Z" [1]="\\[" [2]="''" [3]="\\]" [4]="\\^" [5]="_" [6]="\\\`" [7]="a")

#2 is where backslash would be and has been transliterated to the pair
of single quotes.  Guess "\\\\" was too messy looking?





reply via email to

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