Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > gnu.bash.bug > #15721 > unrolled thread
| Started by | Ilkka Virta <itvirta@iki.fi> |
|---|---|
| First post | 2019-12-12 23:01 +0200 |
| Last post | 2019-12-12 23:01 +0200 |
| Articles | 1 — 1 participant |
Back to article view | Back to gnu.bash.bug
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: Not missing, but very hard to see (was Re: Backslash missing in brace expansion) Ilkka Virta <itvirta@iki.fi> - 2019-12-12 23:01 +0200
| From | Ilkka Virta <itvirta@iki.fi> |
|---|---|
| Date | 2019-12-12 23:01 +0200 |
| Subject | Re: Not missing, but very hard to see (was Re: Backslash missing in brace expansion) |
| Message-ID | <mailman.748.1576184532.1979.bug-bash@gnu.org> |
On 12.12. 21:43, L A Walsh wrote:
> 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 "''":
The backquote is in [6], and the backslash disappears, you just get the
pair of quotes in [2] because that's how printf %q outputs an empty string.
>> read -r -a a< <(printf "%q " {Z..a})
>> my -p a
> declare -a a=([0]="Z" [1]="\\[" [2]="''" [3]="\\]" [4]="\\^" [5]="_"
> [6]="\\\`" [7]="a")
--
Ilkka Virta / itvirta@iki.fi
Back to top | Article view | gnu.bash.bug
csiph-web