zsh-users
 help / color / mirror / code / Atom feed
From: Jason L Tibbitts III <tibbs@hpc.uh.edu>
To: Rusty Hoover <rusty@panix.com>
Cc: zsh-users@math.gatech.edu
Subject: Re: Mailpath notification message
Date: 24 Oct 1996 00:20:43 -0500	[thread overview]
Message-ID: <ufahgnl3plg.fsf@sina.hpc.uh.edu> (raw)
In-Reply-To: Rusty Hoover's message of Thu, 24 Oct 1996 00:37:29 -0400 (EDT)

>>>>> "RH" == Rusty Hoover <rusty@panix.com> writes:

RH> It doesn't. What am i doing wrong? Do i need spaces around the question
RH> mark?

I struggled with this for a little while, and came up with the following:

mailpath=(
  /var/mail/tibbs\?'New unfiltered mail.'
  ~/Mail/spool\?'New spooled mail: ${${_%.spool}#/home/tibbs/Mail/spool/}.'
)

I have something like fifty mail spools, each looking like
/home/tibbs/spool/zsh.spool.  This will report "New unfiltered mail" for
mail in the system spool directory, and will extract the name of the spool
form the other spool directories.
-- 
      Jason L. Tibbitts III - tibbs@uh.edu - 713/743-8684 - 221SR1
System Manager:  University of Houston High Performance Computing Center
                1994 PC800 "Kuroneko"      DoD# 1723


  reply	other threads:[~1996-10-24  5:35 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-10-24  4:37 Rusty Hoover
1996-10-24  5:20 ` Jason L Tibbitts III [this message]
1996-11-05 20:13   ` Nate Johnston
1996-11-05 21:19     ` Bart Schaefer
1996-11-06  5:56       ` Dan Nelson
1996-10-24  7:35 ` Peter Stephenson
1996-10-24  8:41   ` Duncan Sargeant
1996-10-24  9:11     ` Peter Stephenson

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=ufahgnl3plg.fsf@sina.hpc.uh.edu \
    --to=tibbs@hpc.uh.edu \
    --cc=rusty@panix.com \
    --cc=zsh-users@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).