Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: MAIL, MAILPATH and maildir support
- X-seq: zsh-workers 6458
- From: Sven Wischnowsky <wischnow@xxxxxxxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxx
- Subject: Re: MAIL, MAILPATH and maildir support
- Date: Fri, 4 Jun 1999 11:48:50 +0200 (MET DST)
- In-reply-to: Peter Stephenson's message of Thu, 03 Jun 1999 16:08:48 +0200
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
Peter Stephenson wrote:
> A module with more powerful mail commands is a reasonable idea, but I have
> some reservations. First, if this is going to be a largish add-on, basic
> UNIX mail-file checking (as it currently exists) should probably stay in
> the basic shell, since pretty much everybody (? I presume) uses that
Err... ahem. I always feared that I'm not normal.
> --- maybe (ms???) should work too, but it doesn't at the moment);
Now that's a weird omission. Why didn't I... (computers were slower at
that time, but...)
Bye
Sven
--- os/glob.c Tue Jun 1 11:28:26 1999
+++ Src/glob.c Fri Jun 4 11:40:04 1999
@@ -97,6 +97,7 @@
#define TT_MINS 2
#define TT_WEEKS 3
#define TT_MONTHS 4
+#define TT_SECONDS 5
#define TT_BYTES 0
#define TT_POSIX_BLOCKS 1
@@ -1615,6 +1616,8 @@
units = TT_WEEKS, ++s;
else if (*s == 'M')
units = TT_MONTHS, ++s;
+ else if (*s == 's')
+ units = TT_SECONDS, ++s;
}
/* See if it's greater than, equal to, or less than */
if ((range = *s == '+' ? 1 : *s == '-' ? -1 : 0))
--
Sven Wischnowsky wischnow@xxxxxxxxxxxxxxxxxxxxxxx
Messages sorted by:
Reverse Date,
Date,
Thread,
Author