public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* bug in bash/pipe/gawk in b17.1
@ 1997-04-02 18:45 Robert A McDougall
  0 siblings, 0 replies; only message in thread
From: Robert A McDougall @ 1997-04-02 18:45 UTC (permalink / raw)
  To: gnu-win32

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1997-04-02 18:45 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-04-02 18:45 bug in bash/pipe/gawk in b17.1 Robert A McDougall

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