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: Albert Kwok
Subject: Re: gawk only execute Win NT command once
Date: Mon, 02 Apr 2001 12:51:38 -0800

I am using CMD.EXE. I will try bash. Do you know where can I download a Win32 
bash?
I got the gawk by following one of the links in
http://www.gnu.org/manual/gawk/html_mono/gawk.html.

Eli Zaretskii wrote:

> > 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?

--
Thanks
Albert






reply via email to

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