zsh-workers
 help / color / mirror / code / Atom feed
From: Clint Adams <clint@zsh.org>
To: zsh-workers@sunsite.dk
Subject: [goswin.brederlow@student.uni-tuebingen.de: Bug#131063: zsh: read -r removes \ in \\]
Date: Sun, 27 Jan 2002 15:24:05 -0500	[thread overview]
Message-ID: <20020127202405.GB32151@dman.com> (raw)

----- Forwarded message from Goswin Brederlow <goswin.brederlow@student.uni-tuebingen.de> -----

~% echo "\\"                       
\
~% echo "\\" | read -r i; echo "$i"
\
~% echo "\\\\\\\\"                       
\\
~% echo "\\\\\\\\" | read -r i; echo "$i"
\

The manpage says read -r does not remove \.


Also echo removes \:

~% echo "\\\\"                     
\

bash will print \\ as intendet. Any reason? (ksh/pdksh print \ I was
told).

MfG
	Goswin

-- System Information
Debian Release: 3.0
Architecture: i386
Kernel: Linux dual 2.4.16 #9 SMP Sat Jan 26 16:39:53 CET 2002 i686
Locale: LANG=C, LC_CTYPE=de_DE

Versions of packages zsh depends on:
ii  libc6                    2.2.5-1         GNU C Library: Shared libraries an
ii  libcap1                  1:1.10-12       support for getting/setting POSIX.
ii  libncurses5              5.2.20020112a-3 Shared libraries for terminal hand


----- End forwarded message -----


             reply	other threads:[~2002-01-27 20:24 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-01-27 20:24 Clint Adams [this message]
2002-01-27 21:32 ` Bart Schaefer

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=20020127202405.GB32151@dman.com \
    --to=clint@zsh.org \
    --cc=zsh-workers@sunsite.dk \
    /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).