|
From: | Reza Ghorieshi |
Subject: | Problem with File input in gawk on Win32 |
Date: | Tue, 25 Sep 2001 01:43:54 -0400 |
I am having a problem the automated file input feature in gawk under win32 (DOS - windows 2000). I am using the following command:
c:\gawk -f program-file input-file1
Unfortunately, the input-file is never read by the program. Thus, given
a none empty input file, and a program file containing: BEGIN
{print $0}
it prints nothing.
However, c:\gawk "{print $0}" input-file1 works fine.
I am forced to use the: while ((getline < "input-file1")
> 0)
method, which I very much would like to avoid.
Any advise/assistance you can provide is much appreciated.
Thank you,
Reza
[Prev in Thread] | Current Thread | [Next in Thread] |