From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from euclid.skiles.gatech.edu (list@euclid.skiles.gatech.edu [130.207.146.50]) by melb.werple.net.au (8.7.5/8.7.3/2) with ESMTP id KAA03677 for ; Sat, 22 Jun 1996 10:35:45 +1000 (EST) Received: (from list@localhost) by euclid.skiles.gatech.edu (8.7.3/8.7.3) id UAA12668; Fri, 21 Jun 1996 20:09:31 -0400 (EDT) Resent-Date: Fri, 21 Jun 1996 20:09:31 -0400 (EDT) From: Zefram Message-Id: <7151.199606220008@stone.dcs.warwick.ac.uk> Subject: Re: IFS contains Meta - why? To: jdl@clinicom.com (J.D. Laub) Date: Sat, 22 Jun 1996 01:08:50 +0100 (BST) Cc: zsh-workers@math.gatech.edu In-Reply-To: <199606211947.NAA182748@clinicom.com> from "J.D. Laub" at Jun 21, 96 01:47:56 pm X-Loop: zefram@dcs.warwick.ac.uk X-Stardate: [-31]7695.03 X-US-Congress: Moronic fuckers MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Resent-Message-ID: <"oPxRA3.0.s53.wcpon"@euclid> Resent-From: zsh-workers@math.gatech.edu X-Mailing-List: archive/latest/1423 X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu >> ifs = ztrdup(" \t\n "); >> ifs[3] = Meta; > >1) Why does a space (0x20) appear both at the start and end of IFS? >2) Why is Meta in there (contrary to the man page)? The combination {Meta, ' '} is used to represent NUL. IFS now, by default, consists of space, tab, newline and NUL. > The sort command > under HPUX 10.01 stops processing when it runs across non-ascii > characters, so I see nothing after IFS when I run "set | sort". It can't handle the NUL, which is hardly surprising really. -zefram