From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21191 invoked from network); 27 Jan 2002 20:24:14 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 27 Jan 2002 20:24:14 -0000 Received: (qmail 28891 invoked by alias); 27 Jan 2002 20:24:07 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 16499 Received: (qmail 28879 invoked from network); 27 Jan 2002 20:24:07 -0000 Date: Sun, 27 Jan 2002 15:24:05 -0500 From: Clint Adams To: zsh-workers@sunsite.dk Subject: [goswin.brederlow@student.uni-tuebingen.de: Bug#131063: zsh: read -r removes \ in \\] Message-ID: <20020127202405.GB32151@dman.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.25i ----- Forwarded message from Goswin Brederlow ----- ~% 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 -----