delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/06/26/08:29:07

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Message-ID: <002001bfdf69$69ea8300$c7a7b5d4@p4kpm>
From: =?iso-8859-1?Q?Christian_J=F6nsson?= <c DOT christian DOT joensson AT telia DOT com>
To: <earnie_boyd AT yahoo DOT com>, <cygwin AT sourceware DOT cygnus DOT com>
References: <20000626121124 DOT 6043 DOT qmail AT web122 DOT yahoomail DOT com>
Subject: Re: Problem with cygwin-1.1.2 gawk-3.0.4 [Was: [ANNOUNCEMENT] Updated: gawk-3.0.4]
Date: Mon, 26 Jun 2000 14:24:01 +0200
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.00.2919.6600
X-Mimeole: Produced By Microsoft MimeOLE V5.00.2919.6600
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id IAA22724

thanks, i tried that, in a dos shell, I did a set CYGWIN=notty nobinmode
and the started cygwin.bat in that dos shell. Unfortunately, no go... :-(

/ChJ

----- Original Message ----- 
From: "Earnie Boyd" <earnie_boyd AT yahoo DOT com>
To: "Christian_Jönsson" <c DOT christian DOT joensson AT telia DOT com>; <cygwin AT sourceware DOT cygnus DOT com>
Sent: Monday, June 26, 2000 2:11 PM
Subject: Re: Problem with cygwin-1.1.2 gawk-3.0.4 [Was: [ANNOUNCEMENT] Updated: gawk-3.0.4]


> --- Christian_Jönsson <c DOT christian DOT joensson AT telia DOT com> wrote:
> -8<-
> > 
> > The very trivial test1.tcl script is this:
> > 
> > BASH.EXE-2.04$ less test1.tcl
> > set awkCode { { print " "; } }
> > 
> > exec awk $awkCode
> > BASH.EXE-2.04$
> > 
> > now, it might be my total lack of tcl script writing and thus a PATH
> > problem, a cygtcl problem with PATH or awk. hmm, perhaps the link
> > awk -> gawk...
> > 
> > changing and trying again...
> > 
> > BASH.EXE-2.04$ less test1.tcl
> > set awkCode { { print " "; } }
> > 
> > exec gawk $awkCode
> > BASH.EXE-2.04$ cygtclsh80.exe test1.tcl
> > gawk.exe: cmd. line:1:  { print "
> > gawk.exe: cmd. line:1:          ^ unterminated string
> >     while executing
> > "exec gawk $awkCode"
> >     (file "test1.tcl" line 3)
> > BASH.EXE-2.04$ 
> > 
> > hmm, there is is, the unterminated string problem, test case 1. (and a
> > discoverg cygtcl "feauture" :), couldn't handle the awk.exe -> gawk.exe
> > link...
> > 
> > now, changing test2.tcl and trying again...
> > 
> > BASH.EXE-2.04$ less test2.tcl
> > set awkCode { BEGIN { print "\"flow 0" }{ print " "; } }
> > 
> > exec gawk $awkCode
> > BASH.EXE-2.04$ cygtclsh80.exe test2.tcl
> > gawk.exe: cmd. line:2: (END OF FILE)
> > gawk.exe: cmd. line:2: parse error
> >     while executing
> > "exec gawk $awkCode"
> >     (file "test2.tcl" line 3)
> > BASH.EXE-2.04$
> > 
> > same with test3.tcl...
> > 
> > BASH.EXE-2.04$ less test3.tcl
> > set awkCode { BEGIN {prev=-1; }{ print " "; } }
> > 
> > exec gawk $awkCode
> > 
> > BASH.EXE-2.04$ cygtclsh80.exe test3.tcl
> > gawk.exe: cmd. line:1:  BEGIN {prev=-1; }{ print "
> > gawk.exe: cmd. line:1:                           ^ unterminated string
> >     while executing
> > "exec gawk $awkCode"
> >     (file "test3.tcl" line 3)
> > BASH.EXE-2.04$
> > 
> 
> When communicating between Cygwin and non-Cygwin programs you should `SET
> CYGWIN=notty nobinmode' before starting bash, YMMV so it might not help your
> case.
> 
> Regards,
> 
> =====
> ---
>    Earnie Boyd: <mailto:earnie_boyd AT yahoo DOT com>
>             __Cygwin: POSIX on Windows__
> Cygwin Newbies: <http://www.freeyellow.com/members5/gw32/index.html>
>            __Minimalist GNU for Windows__
>   Mingw32 List: <http://www.egroups.com/group/mingw32/>
>     Mingw Home: <http://www.mingw.org/>
> 
> __________________________________________________
> Do You Yahoo!?
> Get Yahoo! Mail - Free email you can access from anywhere!
> http://mail.yahoo.com/


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019