From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4961 invoked from network); 1 Aug 2000 07:18:58 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 1 Aug 2000 07:18:58 -0000 Received: (qmail 24395 invoked by alias); 1 Aug 2000 07:18:50 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 12450 Received: (qmail 24388 invoked from network); 1 Aug 2000 07:18:49 -0000 From: "Bart Schaefer" Message-Id: <1000801071525.ZM30098@candle.brasslantern.com> Date: Tue, 1 Aug 2000 07:15:25 +0000 In-Reply-To: <001001bffb7b$0f58cbd0$21c9ca95@mow.siemens.ru> Comments: In reply to "Andrej Borsenkow" "FW: About word splitting in read (Zsh)" (Aug 1, 9:40am) References: <001001bffb7b$0f58cbd0$21c9ca95@mow.siemens.ru> <001401bffb84$b40f9c40$21c9ca95@mow.siemens.ru> In-Reply-To: <001401bffb84$b40f9c40$21c9ca95@mow.siemens.ru> Comments: In reply to "Andrej Borsenkow" "RE: About word splitting in read (Zsh)" (Aug 1, 10:49am) X-Mailer: Z-Mail (5.0.0 30July97) To: "Andrej Borsenkow" , "ZSH workers mailing list" Subject: Re: FW: About word splitting in read (Zsh) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii On Aug 1, 9:40am, Andrej Borsenkow wrote: } Subject: FW: About word splitting in read (Zsh) } } In (almost latest) CVS: } } bor@itsrm2% read -r foo } qwert yuiop ! } bor@itsrm2% print -r $foo } qwert yuiop ! } } So, the question is - should we fix -r or introduce new option? Neither. zagzig[271] IFS=$'\n' read -r line <<<' this has many spaces ' zagzig[272] echo %$line% % this has many spaces % On Aug 1, 10:49am, Andrej Borsenkow wrote: } } And trailing spaces as well. Uh-huh. -- Bart Schaefer Brass Lantern Enterprises http://www.well.com/user/barts http://www.brasslantern.com Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net