zsh-workers
 help / color / mirror / code / Atom feed
From: Zefram <A.Main@dcs.warwick.ac.uk>
To: jdl@clinicom.com (J.D. Laub)
Cc: zsh-workers@math.gatech.edu
Subject: Re: IFS contains Meta - why?
Date: Sat, 22 Jun 1996 01:08:50 +0100 (BST)	[thread overview]
Message-ID: <7151.199606220008@stone.dcs.warwick.ac.uk> (raw)
In-Reply-To: <199606211947.NAA182748@clinicom.com> from "J.D. Laub" at Jun 21, 96 01:47:56 pm

>>     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



      reply	other threads:[~1996-06-22  0:35 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-06-21 19:47 J.D. Laub
1996-06-22  0:08 ` Zefram [this message]

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=7151.199606220008@stone.dcs.warwick.ac.uk \
    --to=a.main@dcs.warwick.ac.uk \
    --cc=jdl@clinicom.com \
    --cc=zsh-workers@math.gatech.edu \
    /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).