On Sat, Oct 23, 2021 at 10:32 AM Peter Stephenson <p.w.stephenson@xxxxxxxxxxxx> wrote: > > > $ echo "${(q)f}" > > c$' > > 'd > > > > Why does the value contain a '$'? > > The $'...' form of quoting is a special one Also: % printf "%s\n" "${(q)f}" c$'\n'c 'Twas echo changed the \n to an actual newline.