Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: IFS contains Meta - why?
- X-seq: zsh-workers 1423
- From: Zefram <A.Main@xxxxxxxxxxxxxxxxx>
- To: jdl@xxxxxxxxxxxx (J.D. Laub)
- Subject: Re: IFS contains Meta - why?
- Date: Sat, 22 Jun 1996 01:08:50 +0100 (BST)
- Cc: zsh-workers@xxxxxxxxxxxxxxx
- In-reply-to: <199606211947.NAA182748@xxxxxxxxxxxx> 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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author