Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: 3.0-pre1 odd behavior
- X-seq: zsh-workers 1524
- From: Zoltan Hidvegi <hzoli@xxxxxxxxxx>
- To: schaefer@xxxxxxx
- Subject: Re: 3.0-pre1 odd behavior
- Date: Thu, 4 Jul 1996 14:04:55 +0200 (MET DST)
- Cc: olsenc@xxxxxxxxxxxxxxxx, zsh-workers@xxxxxxxxxxxxxxx
- In-reply-to: <960702215259.ZM7175@xxxxxxxxxxxxxxxxxxxxxxx> from Bart Schaefer at "Jul 2, 96 09:52:55 pm"
- Organization: Dept. of Comp. Sci., Eotvos University, Budapest, Hungary
- Phone: (36 1)2669833 ext: 2667, home phone: (36 1) 2752368
> On Jul 2, 4:50pm, Clint Olsen wrote:
> > exec zsh -l
> zagzig[21] setopt | grep monitor
> monitor off
Only the last command of a pipe runs in the current shell environment, and
in a subshell monitor is turned off.
But as it already turned out this behaviour was caused by the swap between
-1 and -C. Every other Bourne-style shell uses -C for noclobber. It would
be possible to use -C for noclobber only when zsh is invoked as sh/ksh but
that may cause confusion so I decided to make -C noclobber even is zsh
mode. In zsh scripts only option names shoud be used to turn options
on/off. Option names will not change and this will make the script more
readable.
Zoltan
Messages sorted by:
Reverse Date,
Date,
Thread,
Author