Hi, Thank you guys for your help.
Got gawk from macports. Hitting data error now: gawk: ./importGoogleCalendar.awk:143: (FILENAME=- FNR=34026) fatal: strftime: second argument less than 0 or too big for time_t I am investigating this now and will report my findings Guido. On 7 May 2013 15:04, Henning Weiss <hdwe...@gmail.com> wrote: > Hi, > > On Tue, May 7, 2013 at 12:26 PM, Tassilo Horn <t...@gnu.org> wrote: >> >> Guido Van Hoecke <gui...@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.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