From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3913 invoked from network); 23 Jun 2000 10:17:16 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 23 Jun 2000 10:17:16 -0000 Received: (qmail 4087 invoked by alias); 23 Jun 2000 10:16:55 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 12045 Received: (qmail 4075 invoked from network); 23 Jun 2000 10:16:50 -0000 X-Envelope-Sender-Is: Andrej.Borsenkow@mow.siemens.ru (at relayer david.siemens.de) From: "Andrej Borsenkow" To: "ZSH workers mailing list" Subject: About word splitting in read Date: Fri, 23 Jun 2000 14:16:41 +0400 Message-ID: <000301bfdcfc$1faddae0$21c9ca95@mow.siemens.ru> MIME-Version: 1.0 Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 Importance: Normal The last patch reminded me ... Currently we can - either read in the whole line (with length unknown in advance) theat is IFS-splitted - or read in fixed number of raw characters Several times I wished, we could read in the whole line but in *raw* mode, that is, without any word splitting. It is somewhat hard to implement this, as we end up with too long/incomplete line so we need some sort of buffered IO on top of read etc How hard would be to add this to read? With semantic "read in the whole line and assign it to scalar unchanged". -andrej Have a nice DOS! B >>