delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/10/15/09:35:10

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT sourceware DOT cygnus DOT com>
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
Resent-Message-Id: <199910141652 DOT SAA22242 AT arnljot DOT lin DOT foa DOT se>
Message-Id: <199910141652.SAA22242@arnljot.lin.foa.se>
Prev-Resent: Sun, 10 Oct 1999 20:58:05 +0200
Prev-Resent: Haobo Yu <haoboy AT isi DOT edu>
X-Mailer: exmh version 2.0.3
To: earnie_boyd AT yahoo DOT com
cc: dwyatt AT sunflower DOT com, cygwin AT sourceware DOT cygnus DOT com, jag123e AT tninet DOT se
Subject: Re: awk problems in B20.1?
In-reply-to: earnie_boyd's message of Sun, 26 Sep 1999 18:47:20 -0700.
<19990927014720 DOT 3442 DOT rocketmail AT web116 DOT yahoomail DOT com>
From: Christian =?iso-8859-1?Q?J=F6nsson?= FOA 72 <chj AT lin DOT foa DOT se>
X-face: 2tQjSw>|IA680lA7r'G9Y[jfoS>tTPw4-B#mQo_C+{6>^DWZP`o.h<N!-!iBER AT 5!"`:9^t
~MyeXP43[]t)W-sTm)TibB_c4=**35T?X(,6,POUlqae[Aq$"zn4hN{{w@(=rYp\i=\wUyhL
X-URL: http://www.foa.se
Mime-Version: 1.0
Date: Sun, 10 Oct 1999 20:41:20 +0200
Resent-cc: cygwin AT sourceware DOT cygnus DOT com
Resent-Date: Thu, 14 Oct 1999 18:52:52 +0200
Resent-From: Christian Jönsson FOA 72 <chj AT lin DOT foa DOT se>

Hello again Doug and anyone else...

I'm not sure this is a "text processing mode" vs "binary
processing mode" issue but =


I'm sorry to "bother" you again but I thought I had to ask you a =

"quick one". Might there be a problem with (it's tcl code)

        exec awk [$self $awkprocedure_] $flowfile >@ $outdesc


where $self $awkproc_ $flowfile and $outdesc are =


_o4
unforcedmakeawk
fairflow.tr
file128

and the failure is
ns: _o4 finish_flows test_flows_unforced: awk.exe: cmd. line:4:
        print "
awk.exe: cmd. line:4:                               ^ unterminated string=


and the procedure unforcedmakeawk is

TestSuite instproc unforcedmakeawk { } {
        set awkCode {
            {
                if ($2 !=3D prev) {
                        print " "; print "\"flow " $2;
			if ($13 > 0 && $14 > 0) {
			    print 100.0 * $9/$13, 100.0 * $10 / $14

the problem is the first print " "; statement, the last " is "lost" =

somehow...

Any hints?

TIA,

/ChJ





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