zsh-workers
 help / color / mirror / code / Atom feed
From: Zoltan Hidvegi <hzoli@cs.elte.hu>
To: schaefer@nbn.com
Cc: olsenc@ichips.intel.com, zsh-workers@math.gatech.edu
Subject: Re: 3.0-pre1 odd behavior
Date: Thu, 4 Jul 1996 14:04:55 +0200 (MET DST)	[thread overview]
Message-ID: <199607041204.OAA11459@bolyai.cs.elte.hu> (raw)
In-Reply-To: <960702215259.ZM7175@candle.brasslantern.com> from Bart Schaefer at "Jul 2, 96 09:52:55 pm"

> 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



      parent reply	other threads:[~1996-07-04 12:19 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-07-02 23:50 Clint Olsen
1996-07-03  4:52 ` Bart Schaefer
1996-07-03  7:17   ` Never mind (Re: 3.0-pre1 odd behavior) Bart Schaefer
1996-07-03 16:30   ` 3.0-pre1 odd behavior Clint Olsen
1996-07-03 17:15     ` Bart Schaefer
1996-07-03 17:26       ` Clint Olsen
1996-07-04 12:04   ` Zoltan Hidvegi [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=199607041204.OAA11459@bolyai.cs.elte.hu \
    --to=hzoli@cs.elte.hu \
    --cc=olsenc@ichips.intel.com \
    --cc=schaefer@nbn.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).