zsh-workers
 help / color / mirror / code / Atom feed
From: Bart Schaefer <schaefer@brasslantern.com>
To: zsh-workers@sunsite.dk
Subject: Re: duplicate printexitvalue with mailcheck
Date: Tue, 14 Oct 2003 14:59:47 +0000	[thread overview]
Message-ID: <1031014145947.ZM22336@candle.brasslantern.com> (raw)
In-Reply-To: <20031013023510.GA11368@dylex.dylex.net>

On Oct 12,  7:35pm, Dylan Alex Simon wrote:
} Subject: duplicate printexitvalue with mailcheck
}
} The printexitvalue option shows multiple exit values when MAILPATH/MAILCHECK
} is set and new mail is found.

I'm not able to reproduce this, but I suspect that it shows multiple exit
values when the mail check contains a call to an external command:
 
} MAILPATH='/home/dylan/mail?New mail in `basename $_`'
                                         ^^^^^^^^^^^^^
If you change that to

    MAILPATH='/home/dylan/mail?New mail in $_:t'

what happens?

(Might need ${_:t} if you're using some ksh emulation options.)

If that doesn't change anything, you'll need to tell us more about your
environment, such as whether you have a precmd and what it does, whether
you have any TRAPxxx functions defined, etc.


  reply	other threads:[~2003-10-14 15:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-10-13  2:35 Dylan Alex Simon
2003-10-14 14:59 ` Bart Schaefer [this message]
2003-10-15  6:31   ` Geoff Wing

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=1031014145947.ZM22336@candle.brasslantern.com \
    --to=schaefer@brasslantern.com \
    --cc=zsh-workers@sunsite.dk \
    /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).