This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

bug in bash/pipe/gawk in b17.1


Under bash, gawk seems to have some difficulty with ends of 
pipes: e.g.,

----        --------        --------        --------        

C:\>echo foo | gawk '{print}'
foo
C:\>bash
$ echo foo | gawk '{print}'
foo
gawk: cmd. line:1: (FILENAME=- FNR=1) fatal: error reading
    input: Bad file number
$ echo $?
2
$ /cygnus/H-i386-cygwin32/bin/echo foo | gawk '{print}'
foo
gawk: cmd. line:1: (FILENAME=- FNR=1) fatal: error reading
    input: Bad file number
$ echo $?
2

----        --------        --------        --------        

This is with Win95 with FAT32.


robert mcdougall
ph  (765) 496 2798      fax (765) 496 1224
-
For help on using this list, send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]