zsh-workers
 help / color / mirror / code / Atom feed
* read -r flag not working on 5.8.1
@ 2021-08-08  5:38 David Milum
  2021-08-08  5:53 ` David Milum
  0 siblings, 1 reply; 4+ messages in thread
From: David Milum @ 2021-08-08  5:38 UTC (permalink / raw)
  To: zsh-workers

[-- Attachment #1: Type: text/plain, Size: 446 bytes --]

Hello, seems like the -r (raw mode) flag which should prevent it from
interpreting backslashes is not working? My understanding is the following
example shouldn't clear the "CLEAR" part. I can also demonstrate with new
lines.

$ read -r TEST
asd\c CLEAR
$ echo $TEST
asd
$ zsh --version
zsh 5.8 (x86_64-pc-linux-gnu)

According to pacman the installed version is 5.8.1

I was also able to reproduce on my mac
zsh  5.7.1 (x86_64-apple-darwin19.0)

[-- Attachment #2: Type: text/html, Size: 616 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-08-08 14:05 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-08  5:38 read -r flag not working on 5.8.1 David Milum
2021-08-08  5:53 ` David Milum
2021-08-08  5:59   ` Mikael Magnusson
2021-08-08 14:04     ` Stephane Chazelas

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).