zsh-workers
 help / color / mirror / code / Atom feed
* UNPATCH: calendar system
@ 2006-11-30 19:33 Peter Stephenson
  2006-12-01 10:29 ` Peter Stephenson
  0 siblings, 1 reply; 2+ messages in thread
From: Peter Stephenson @ 2006-11-30 19:33 UTC (permalink / raw)
  To: Zsh hackers list

I'm about (probably tomorrow morning) to commit a calendar function
system I've written based around the strftime builtin, with support for
sched for alerts.  There are a number of limitations but it seems now to
be basically working.  It's quite large, so I won't post it.

Even if you don't need the calendar system, the "age" function can
be used as a glob qualifier function to pick up files modified on
a specified date/time or between specified dates/times.

The functions live in Functions/Calendar and the manual in zshcalsys.1.
The functions are installed with the zsh/datetime module, since they
depend on it.

-- 
Peter Stephenson <pws@csr.com>                  Software Engineer
CSR PLC, Churchill House, Cambridge Business Park, Cowley Road
Cambridge, CB4 0WZ, UK                          Tel: +44 (0)1223 692070


To access the latest news from CSR copy this link into a web browser:  http://www.csr.com/email_sig.php


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: UNPATCH: calendar system
  2006-11-30 19:33 UNPATCH: calendar system Peter Stephenson
@ 2006-12-01 10:29 ` Peter Stephenson
  0 siblings, 0 replies; 2+ messages in thread
From: Peter Stephenson @ 2006-12-01 10:29 UTC (permalink / raw)
  To: Zsh hackers list

Peter Stephenson wrote:
> I'm about (probably tomorrow morning) to commit a calendar function
> system I've written based around the strftime builtin, with support for
> sched for alerts.  There are a number of limitations but it seems now to
> be basically working.  It's quite large, so I won't post it.

Done.  Comments welcome.  See the Bugs section at the end of
zshcalsys.1.

By the way, I added one fix outside this module: the file-list style can
be made to avoid trampling on an external "stat" programme by preloading
the stat builtin and disabling it:

zmodload zsh/stat
disable stat

This is also appropriate for the "age" glob qualifier function, which
also uses the stat builtin.

-- 
Peter Stephenson <pws@csr.com>                  Software Engineer
CSR PLC, Churchill House, Cambridge Business Park, Cowley Road
Cambridge, CB4 0WZ, UK                          Tel: +44 (0)1223 692070


To access the latest news from CSR copy this link into a web browser:  http://www.csr.com/email_sig.php


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-12-01 10:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-11-30 19:33 UNPATCH: calendar system Peter Stephenson
2006-12-01 10:29 ` Peter Stephenson

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).