This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: awk problems in B20.1?
- To: cygwin at sourceware dot cygnus dot com
- Subject: Re: awk problems in B20.1?
- From: Christian Jönsson FOA 72 <chj at lin dot foa dot se>
- Date: Sun, 10 Oct 1999 21:37:18 +0200
- Cc: Haobo Yu <haoboy at isi dot edu>, dwyatt at sunflower dot com
- Resent-To: cygwin at sourceware dot cygnus dot com
Hmm, perhaps I should have added tha whole tcl procedure, because it's =
got a "nice" feauture, a return of the value of awkCode...
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
}
prev =3D $2;
} else if ($13 > 0 && $14 > 0) {
print 100.0 * $9 / $13, 100.0 * $10 / $14
}
}
}
return $awkCode
}
I suspect some kind of problem with the doublequote and/or with the =
escape char "\"...
Well, that's it for now...
/ChJ
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com