From mboxrd@z Thu Jan 1 00:00:00 1970 From: Henning Weiss Subject: Re: Problem with Google Calendar Synchronization Date: Tue, 7 May 2013 15:04:00 +0200 Message-ID: References: <87vc6vxf06.fsf@thinkpad.tsdh.de> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=047d7b6dc3206a95fc04dc2073f1 Return-path: Received: from eggs.gnu.org ([208.118.235.92]:60895) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UZhYs-0005TV-3H for emacs-orgmode@gnu.org; Tue, 07 May 2013 09:04:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UZhYn-0004rD-7X for emacs-orgmode@gnu.org; Tue, 07 May 2013 09:04:06 -0400 In-Reply-To: <87vc6vxf06.fsf@thinkpad.tsdh.de> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Tassilo Horn Cc: emacs-orgmode@gnu.org --047d7b6dc3206a95fc04dc2073f1 Content-Type: text/plain; charset=ISO-8859-1 Hi, On Tue, May 7, 2013 at 12:26 PM, Tassilo Horn wrote: > Guido Van Hoecke writes: > > Hu Giudo, > > > When executing the awk script written by Eric S. Fraga at > > http://orgmode.org/worg/org-tutorials/org-google-sync.html I get > > following error: > > > > /usr/bin/awk: calling undefined function gensub > > source line number 82 > > > > This is on an iMac with 'awk version 20070501'. > > > > Is this outdated or so? > > gensub is a GNU awk extension. So either you are running a different > flavor of awk, or you are running it in compatibility mode (Option -c or > --traditional). Given the version string, I guess it's another flavor. > The easiest way to get GNU awk on mac is probably to install homebrew(or macports ) first. In case of homebrew you can run: ruby -e "$(curl -fsSL https://raw.github.com/mxcl/homebrew/go)" brew update brew install gawk regards, Henning --047d7b6dc3206a95fc04dc2073f1 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Hi,

On Tue, May 7, 2013 at = 12:26 PM, Tassilo Horn <tsdh@gnu.org> wrote:
Guido Van Hoecke <guivho@gmail.com> writes:

Hu Giudo,

> When executing the awk script written by Eric S. Fraga at
> http://orgmode.org/worg/org-tutorials/org-google-sync.ht= ml I get
> following error:
>
> /usr/bin/awk: calling undefined function gensub
> =A0source line number 82
>
> This is on an iMac with 'awk version 20070501'.
>
> Is this outdated or so?

gensub is a GNU awk extension. =A0So either you are running a differe= nt
flavor of awk, or you are running it in compatibility mode (Option -c or --traditional). =A0Given the version string, I guess it's another flavo= r.
=A0
The easiest way to get GNU awk = on mac is probably to install h= omebrew (or macports) first. I= n case of homebrew you can run:

ruby -e "$(curl -fsSL https://raw.github.com/mxcl/homebrew/go)"
<= div class=3D"gmail_extra" style>brew update
brew install gawk

regards,
Henn= ing
--047d7b6dc3206a95fc04dc2073f1--