Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: 8-bit patch for zle_tricky.c
- X-seq: zsh-workers 1102
- From: "Bart Schaefer" <schaefer@xxxxxxxxxxxxxxxxxxxxxxx>
- To: A.Main@xxxxxxxxxxxxxxxxx (Zefram), Zoltan Hidvegi <hzoli@xxxxxxxxxx>, zsh-workers@xxxxxxxxxxxxxxx
- Subject: Re: 8-bit patch for zle_tricky.c
- Date: Mon, 20 May 1996 10:03:49 -0700
- In-reply-to: Zoltan Hidvegi <hzoli@xxxxxxxxxx> "Re: 8-bit patch for zle_tricky.c" (May 20, 7:21pm)
- References: <199605201721.TAA04182@xxxxxxxxxxxxxxxxx>
- Reply-to: schaefer@xxxxxxx
On May 20, 7:21pm, Zoltan Hidvegi wrote:
} Subject: Re: 8-bit patch for zle_tricky.c
}
} > Adding it to $IFS has no effect in this matter, because zsh does not do
} > field splitting on normal words. (It should, at least if SH_WORD_SPLIT
} > is set.)
}
} I do not think so. Neither bash nor ksh93 does this. Look:
}
} % ksh
} $ count () { echo $# ; }
} $ IFS=/
} $ count as/df/gh
} 1
}
} SH_WORD_SPLIT only changes the result of substitutions.
zsh% /bin/sh
$ IFS=/
$ echo/bar
bar
$ exit/1
zsh% echo $?
1
zsh%
--
Bart Schaefer Brass Lantern Enterprises
http://www.well.com/user/barts http://www.nbn.com/people/lantern
New male in /home/schaefer:
>N 2 Justin William Schaefer Sat May 11 03:43 53/4040 "Happy Birthday"
Messages sorted by:
Reverse Date,
Date,
Thread,
Author