Re: gawk not taking redirected input under command.com

2002-10-07 Thread Christopher Faylor
On Mon, Oct 07, 2002 at 10:42:42AM -0400, Christopher Faylor wrote: >On Mon, Oct 07, 2002 at 07:14:26AM -0700, Barry Buchbinder wrote: >>C:\> gawk '{print $0 "yz" }' < autoexec.bat >>showed that what was happening was that the "yz" was *overwriting* the >>beginning of the line. > >So, to summarize

Re: gawk not taking redirected input under command.com

2002-10-07 Thread Barry Buchbinder
According to cygcheck, I'm running gawk-3.1.1-3 -Original Message- From: Peter S Tillier [mailto:[EMAIL PROTECTED]] Sent: Monday, October 07, 2002 1:19 pm To: [EMAIL PROTECTED] Subject: Re: gawk not taking redirected input under command.com - Original Message -

Re: gawk not taking redirected input under command.com

2002-10-07 Thread Peter S Tillier
- Original Message - From: "Christopher Faylor" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, October 07, 2002 3:42 PM Subject: Re: gawk not taking redirected input under command.com > On Mon, Oct 07, 2002 at 07:14:26AM -0700, Barry Buchbinder wrot

Re: gawk not taking redirected input under command.com

2002-10-07 Thread Christopher Faylor
On Mon, Oct 07, 2002 at 07:14:26AM -0700, Barry Buchbinder wrote: > C:\> gawk '{print "x" $0 "y"}' < autoexec.bat >gave no "x" but "y" was at the *beginning* of the line! Calm down. >C:\> gawk '{print $0 "yz" }' < autoexec.bat >showed that what was happening was that the "yz" was *overwriting*

RE: gawk not taking redirected input under command.com

2002-10-07 Thread Barry Buchbinder
howed that the leading 123 was being inserted correctly before "xy" overwrote the "12". Any more data I could collect to help someone debug this? (I'm a user, not a programmer.) - Barry -Original Message- From: Christopher Faylor [mailto:[EMAIL PROTECTED]

Re: gawk not taking redirected input under command.com

2002-10-05 Thread Christopher Faylor
On Sun, Oct 06, 2002 at 01:22:21AM +0100, Cliff Hones wrote: >> >>... >> >>We're still having some problems with the DLL, though, so I don't have >> >>an ETA for the official release. >> > >> >you must ofcourse realise that its the version number which is causing >> >all the problems .. skip to 1

Re: gawk not taking redirected input under command.com

2002-10-05 Thread Cliff Hones
> >>... > >>We're still having some problems with the DLL, though, so I don't have > >>an ETA for the official release. > > > >you must ofcourse realise that its the version number which is causing > >all the problems .. skip to 1.3.14... > > > >Gareth - who just watched Amelie and is in rather t

Re: gawk not taking redirected input under command.com

2002-10-05 Thread Christopher Faylor
On Sun, Oct 06, 2002 at 04:28:54AM +1000, Gareth Pearce wrote: >>I'm not sure how or why this was fixed, but it seems like this is fixed >>in the current cygwin snapshots and so will be fixed in the 1.3.13 >>release. >> >>We're still having some problems with the DLL, though, so I don't have >>an

Re: gawk not taking redirected input under command.com

2002-10-05 Thread Gareth Pearce
> I'm not sure how or why this was fixed, but it seems like this > is fixed in the current cygwin snapshots and so will be fixed in > the 1.3.13 release. > > We're still having some problems with the DLL, though, so I don't > have an ETA for the official release. you must ofcourse realise that it

Re: gawk not taking redirected input under command.com

2002-10-05 Thread Christopher Faylor
On Wed, Oct 02, 2002 at 08:14:26AM -0700, Barry Buchbinder wrote: >It's definitly cygwin's gawk doing it. > > C:\> c:\cygwin\bin\gawk -f t < autoexec.bat > GAWK: t:3: fatal: file `-' is a directory I'm not sure how or why this was fixed, but it seems like this is fixed in the current cygwin sna

Re: gawk not taking redirected input under command.com

2002-10-05 Thread Peter S Tillier
- Original Message - From: "Barry Buchbinder" <[EMAIL PROTECTED]> To: "Cygwin" <[EMAIL PROTECTED]> Sent: Friday, October 04, 2002 1:55 PM Subject: RE: gawk not taking redirected input under command.com > I get the same problems under under win95cmd.ex

RE: gawk not taking redirected input under command.com

2002-10-04 Thread Barry Buchbinder
the script is on the command line, the error is in line 2.) Thanks again, - Barry Buchbinder -Original Message- From: Igor Pechtchanski [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 02, 2002 12:51 pm To: [EMAIL PROTECTED] Subject: Re: gawk not taking redirected input under comman

Re: gawk not taking redirected input under command.com

2002-10-02 Thread Igor Pechtchanski
; C:\> dir /s /b gawk.exe > > C:\cygwin\bin\gawk.exe > > > > Similar searches for gawk.bat and gawk.com find > > nothing. > > > > - Barry > > > > -Original Message- > > From: Christopher Faylor > > [mailto:[EMAIL PROTECTED]

Re: gawk not taking redirected input under command.com

2002-10-02 Thread Don Sharp
g "dir /s /b" on all of the C: > drive: > > C:\> dir /s /b gawk.exe > C:\cygwin\bin\gawk.exe > > Similar searches for gawk.bat and gawk.com find > nothing. > > - Barry > > -----Original Message----- > From: Christopher Faylor > [mailto:

RE: gawk not taking redirected input under command.com

2002-10-02 Thread Barry Buchbinder
f the C: drive: C:\> dir /s /b gawk.exe C:\cygwin\bin\gawk.exe Similar searches for gawk.bat and gawk.com find nothing. - Barry -Original Message- From: Christopher Faylor [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 02, 2002 10:14 am To: [EMAIL PROTECTED] Subject: Re: gawk

Re: gawk not taking redirected input under command.com

2002-10-02 Thread Christopher Faylor
On Wed, Oct 02, 2002 at 05:47:52AM -0700, Barry Buchbinder wrote: >I have a problem with gawk. > >Under bash, it works as expected. > >Under command.com (win98se) it does the following when >taking input from a pipe or by redirection. > > C:\> cat autoexec.bat | gawk '{ print "!" $0 "!" }' > GAW

gawk not taking redirected input under command.com

2002-10-02 Thread Barry Buchbinder
I have a problem with gawk. Under bash, it works as expected. Under command.com (win98se) it does the following when taking input from a pipe or by redirection. C:\> cat autoexec.bat | gawk '{ print "!" $0 "!" }' GAWK: cmd. line:2: fatal: file `-' is a directory C:\> gawk '{ print "!" $0