On Thu, Nov 01, 2001 at 01:36:24PM +0100, Guido van Rooij wrote: > On Thu, Nov 01, 2001 at 01:29:50PM +0100, Dag-Erling Smorgrav wrote: > > Guido van Rooij <[EMAIL PROTECTED]> writes: > > > May I aks which shell you are using? > > > > Zsh. > > I am starting to wonder which sh is broken.....
Neither really. First note that zsh doesn't claim to be fully compatible with /bin/sh (or POSIX-compliant for that matter.) Secondly, zsh has a lot of options defining how it works. In this case the option SH_WORD_SPLIT defines which behaviour will be used. If this option is set it will replace the newline with a space. If it is not set (which is the default) the newline will be retained as it is. > > Btw there is a difference between sh and {t,}csh: in the sh case the newline > is replaced with 1 space. In the case of the 2 others, there are 2 spaces. -- <Insert your favourite quote here.> Erik Trulsson [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message