🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: net.bugs
Article #506

Re: awk accepts but blows unary negation

#506
From: david
Date: Tue, 18 Mar 1986 17:58
18 lines
1168 bytes
>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
Technical Details
Message-ID: <1500001@ztivax.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!think!harvard!seismo!mcvax!unido!ztivax!david
References: <179@desint.UUCP>

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!think!harvard!seismo!mcvax!unido!ztivax!david
From: david@ztivax.UUCP
Newsgroups: net.bugs
Subject: Re: awk accepts but blows unary negation
Message-ID: <1500001@ztivax.UUCP>
Date: Tue, 18-Mar-86 12:58:00 EST
Article-I.D.: ztivax.1500001
Posted: Tue Mar 18 12:58:00 1986
Date-Received: Fri, 21-Mar-86 04:37:20 EST
References: <179@desint.UUCP>
Sender: notes@unido.UUCP
Lines: 19
Nf-ID: #R:desint:-17900:ztivax:1500001:000:550
Nf-From: ztivax!david    Mar 18 17:58:00 1986