emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Neil Smithline <emacs-orgmode@neilsmithline.com>
To: Guido Van Hoecke <guivho@gmail.com>
Cc: Org Mode <emacs-orgmode@gnu.org>,
	Stephen Eglen <S.J.Eglen@damtp.cam.ac.uk>
Subject: Re: Handling Repeating events from google calendar / repeater interval
Date: Wed, 31 Jul 2013 09:45:34 -0400	[thread overview]
Message-ID: <CAH4vb=0J3EoohiOkbv1Jo2K662QGb8utNL8gjCspGjfiviq_0g@mail.gmail.com> (raw)
In-Reply-To: <m21u79xd01.fsf@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1711 bytes --]

On Mon, Jul 8, 2013 at 11:55 AM, Guido Van Hoecke <guivho@gmail.com> wrote:

>
> Correct me if I am wrong, but I'm afraid that pure AWK does not provide
> date computation support. That's why I did not implement this.
> So I would definitely vote to extend the repeater syntax with a count.


Before defending my precious AWK, I'll say that I think that repeating
timestamps are a good idea and I'm not trying to talk anyone out of it.

From http://en.wikipedia.org/wiki/Awk: <http://en.wikipedia.org/wiki/Awk>

<http://en.wikipedia.org/wiki/Awk>>> Although AWK and sed were designed to
support one-liner programs, even the early:
>> Bell Labs users of AWK often wrote well-structured large AWK programs,
and despite
>> its limited intended area of use, AWK is ____Turing-complete____

I wouldn't recommend starting out to write a significant app in AWK, but
adding a feature to an existing script doesn't seem unreasonable. The time
functions are documented at
http://www.gnu.org/software/gawk/manual/gawk.html#Time-Functions. The input
may need a bit of string preprocessing before being passed to the time
functions and, as we all know, AWK does a fine job of string manipulation.

While I don't have time to bang on a huge script, if someone gives me the
input and output for the time conversion, I should be able to whip that up
pretty quickly.

Neil

PS: You crazy kids and your lack of respect for antiquated UNIX utilities
;-)

In the interest of full disclosure, the quote above from the WIkipedia is
immediately followed by:
>> The power, terseness, and limits of early AWK programs inspired Larry
Wall to write Perl

So your lack of AWK knowledge seems reasonable as there are many better
utilities.

[-- Attachment #2: Type: text/html, Size: 2726 bytes --]

  parent reply	other threads:[~2013-07-31 13:46 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-08 15:00 Handling Repeating events from google calendar / repeater interval Stephen Eglen
2013-07-08 15:55 ` Guido Van Hoecke
2013-07-09  9:08   ` Stephen Eglen
2013-07-31 13:45   ` Neil Smithline [this message]
2013-07-31 19:42     ` Guido Van Hoecke
2013-07-09  6:38 ` Simon Thum
2013-07-09  9:07   ` Stephen Eglen
     [not found]   ` <85ppuisdax.fsf@damtp.cam.ac.uk>
2013-07-21 10:44     ` Simon Thum
2013-07-23 14:42       ` Stephen Eglen
2013-07-28  9:00         ` Simon Thum
2013-07-30 13:06           ` Stephen Eglen
2013-07-31 12:48             ` Simon Thum
     [not found]               ` <m27gg6h1z8.fsf@damtp.cam.ac.uk>
2013-07-31 21:18                 ` Simon Thum
2013-08-08 20:56                   ` Simon Thum
2013-08-09 20:32                     ` Simon Thum

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

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAH4vb=0J3EoohiOkbv1Jo2K662QGb8utNL8gjCspGjfiviq_0g@mail.gmail.com' \
    --to=emacs-orgmode@neilsmithline.com \
    --cc=S.J.Eglen@damtp.cam.ac.uk \
    --cc=emacs-orgmode@gnu.org \
    --cc=guivho@gmail.com \
    /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.savannah.gnu.org/cgit/emacs/org-mode.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).