From: David Milum <david.milum.89@gmail.com>
To: zsh-workers@zsh.org
Subject: read -r flag not working on 5.8.1
Date: Sun, 8 Aug 2021 01:38:57 -0400 [thread overview]
Message-ID: <CALaXwKNkYJJyfM2S+xWN15u8LA_ty7aa+r1ZFvSGNjskxk5Wnw@mail.gmail.com> (raw)
[-- 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 --]
next reply other threads:[~2021-08-08 5:39 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-08-08 5:38 David Milum [this message]
2021-08-08 5:53 ` David Milum
2021-08-08 5:59 ` Mikael Magnusson
2021-08-08 14:04 ` Stephane Chazelas
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CALaXwKNkYJJyfM2S+xWN15u8LA_ty7aa+r1ZFvSGNjskxk5Wnw@mail.gmail.com \
--to=david.milum.89@gmail.com \
--cc=zsh-workers@zsh.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).