awk accepts but blows unary negation

david at ztivax.UUCP david at ztivax.UUCP
Wed Mar 19 03:58:00 AEST 1986


>echo 15 | awk '{t1=-15;t2=15;t3=-t2;t4=-$1;print t1,t3,t4}'

On my system (Unisoft V.0) it produces:

	-2.71875 -2.71875 -2.71875

On my system (4.2bsd)  works perfectly.  yaub (yet another unisoft
bug).

By the way, does your file system only last about a month like on my
last Unisoft system?  (last because I won't try Unisoft again after 2
years of intense headaches)  Noone ever could solve that one, but I
think it was because they could not properly handle fragmentation in
the file system.

real men use real UNIX

seismo!unido!ztivax!david



More information about the Net.bugs mailing list