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]

Re: awk problems in B20.1?



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@sourceware.cygnus.com


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