public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Gawk error under Cygwin
@ 2011-08-18 13:01 DEWI - N. Zacharias
  2011-08-18 13:21 ` Corinna Vinschen
  0 siblings, 1 reply; 3+ messages in thread
From: DEWI - N. Zacharias @ 2011-08-18 13:01 UTC (permalink / raw)
  To: cygwin


Hi all,

I encounter a strange behavior of gawk under cygwin:

Using
 awk  -f somescript.awk

works fine except NaN handling which is switched on by --posix but

awk --posix  -f somescript.awk

produces an  error

awk somescript.awk:29: Fatal: Funktion 'systime' ist nicht definiert.
(systime not defined)

What is going wrong here ??

Have fun
Norbert

--------------------------------------------------------------------------
Dipl. Phys.
Norbert Zacharias
Wind Measurements & Power Curve Measurements
DEWI GmbH
Ebertstrasse 96
26382 Wilhelmshaven
Germany


Tel.:   +49 4421 4808 876

Fax:    +49 4421 4808 843


Email:  N.Zacharias@dewi.de
Home:   http://www.dewi.de

DEWI GmbH - Deutsches Windenergie-Institut, Wilhelmshaven
Commercial Register No.: Amtsgericht Oldenburg, HRB 130241
Managing Director: Jens Peter Molly
Chairman of the supervisory board: Ministerialrat Dr. Niels Kämpny

P Please consider the environment before printing this email.



--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

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

* Re: Gawk error under Cygwin
  2011-08-18 13:01 Gawk error under Cygwin DEWI - N. Zacharias
@ 2011-08-18 13:21 ` Corinna Vinschen
  2011-08-18 13:34   ` AW: [bulk] - " DEWI - N. Zacharias
  0 siblings, 1 reply; 3+ messages in thread
From: Corinna Vinschen @ 2011-08-18 13:21 UTC (permalink / raw)
  To: cygwin

On Aug 18 15:00, DEWI - N. Zacharias wrote:
> 
> Hi all,
> 
> I encounter a strange behavior of gawk under cygwin:
> 
> Using
>  awk  -f somescript.awk
> 
> works fine except NaN handling which is switched on by --posix but
> 
> awk --posix  -f somescript.awk
> 
> produces an  error
> 
> awk somescript.awk:29: Fatal: Funktion 'systime' ist nicht definiert.
> (systime not defined)
> 
> What is going wrong here ??

Try `gawk --lint -f somescript.awk'


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

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

* AW: [bulk] - Re: Gawk error under Cygwin
  2011-08-18 13:21 ` Corinna Vinschen
@ 2011-08-18 13:34   ` DEWI - N. Zacharias
  0 siblings, 0 replies; 3+ messages in thread
From: DEWI - N. Zacharias @ 2011-08-18 13:34 UTC (permalink / raw)
  To: cygwin


Hi Corrina,

> Von: Corinna Vinschen
> Gesendet: Donnerstag, 18. August 2011 15:21
> Betreff: [bulk] - Re: Gawk error under Cygwin
>
> On Aug 18 15:00, DEWI - N. Zacharias wrote:
> >
> > Hi all,
> >
> > I encounter a strange behavior of gawk under cygwin:
> >
> > Using
> >  awk  -f somescript.awk
> >
> > works fine except NaN handling which is switched on by --posix but
> >
> > awk --posix  -f somescript.awk
> >
> > produces an  error
> >
> > awk somescript.awk:29: Fatal: Funktion 'systime' ist nicht definiert.
> > (systime not defined)
> >
> > What is going wrong here ??
>
> Try `gawk --lint -f somescript.awk'

Thanks that helps!
The problem was again in front of the computer.
I used awk instead of gawk.

Sorry for bothering you

Have a nice day
Norbert


--------------------------------------------------------------------------
Dipl. Phys.
Norbert Zacharias
Wind Measurements & Power Curve Measurements
DEWI GmbH
Ebertstrasse 96
26382 Wilhelmshaven
Germany


Tel.:   +49 4421 4808 876

Fax:    +49 4421 4808 843


Email:  N.Zacharias@dewi.de
Home:   http://www.dewi.de

DEWI GmbH - Deutsches Windenergie-Institut, Wilhelmshaven
Commercial Register No.: Amtsgericht Oldenburg, HRB 130241
Managing Director: Jens Peter Molly
Chairman of the supervisory board: Ministerialrat Dr. Niels Kämpny

P Please consider the environment before printing this email.



--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

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

end of thread, other threads:[~2011-08-18 13:34 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-08-18 13:01 Gawk error under Cygwin DEWI - N. Zacharias
2011-08-18 13:21 ` Corinna Vinschen
2011-08-18 13:34   ` AW: [bulk] - " DEWI - N. Zacharias

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