bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gawk only execute Win NT command once


From: Eli Zaretskii
Subject: Re: gawk only execute Win NT command once
Date: Mon, 02 Apr 2001 21:41:06 +0200

> From: Albert Kwok <address@hidden>
> Date: Mon, 02 Apr 2001 11:49:39 -0800
> 
> Hi, I am trying to run a awk program under Windows NT that execute a NT batch
> program. It seems to only work the first time I run it and it seems to skip 
> the
> system call after. I have reproduced the problem with the following program:
> gawk "{ \"echo\"|getline line; print line; }"
> 
> I am running GNU Awk 3.0.4 version. Could you tell me if this version support 
> Win
> NT or what do I have to do to get it running properly under NT?

I'm guessing that the problem is with how the shell you use handles
the quoting.  Quoting special shell characters such as `|' is
especially notorious.

Can you try it in another shell (CMD.EXE or a ported Bash)?

Also, where did you get the port of Gawk that you use?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]