🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.bugs.misc
Article #111

Re: pxp and null

#111
From: Geoff Whale
Date: Tue, 19 Apr 1988 04:18
23 lines
1194 bytes
Try running this self-explanatory Pascal program through pxp:
------------
	program fred(output);
	{ Guess what - BSD 4.2 pxp prints comments thus:
		printf(commenttext);
	  so guess what happens when it encounters
	  a %% sign, especially one followed by *
	}
	{ The following comment contains %%x and %%*x }
	{ %x %*x }
	begin
	    null
	end.
------------
I don't know if it's fixed in 4.3 (I doubt it,
only deranged students ever use comments, particularly
with any punctuation :-))

ARPA:   geoffw%elecvax.eecs.unsw.oz@seismo.CSS.GOV
JANET:  elecvax.eecs.unsw.oz!geoffw@ukc
BITNET: geoffw%elecvax.eecs.unsw.oz%seismo.CSS.GOV@WISCVM
UUCP:   {seismo,hplabs,ukc,mcvax,ubc-vision,nttlab}!munnari!elecvax.eecs.unsw.oz!geoffw
        {decvax,vax135}!mulga!elecvax.eecs.unsw.oz!geoffw
Technical Details
Message-ID: <3989@elecvax.eecs.unsw.oz>
Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!munnari!otc!metro!basser!elecvax!geoffw
References: <252@gould.doc.ic.ac.uk>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!munnari!otc!metro!basser!elecvax!geoffw
From: geoffw@elecvax.eecs.unsw.oz (Geoff Whale)
Newsgroups: comp.bugs.misc
Subject: Re: pxp and null
Message-ID: <3989@elecvax.eecs.unsw.oz>
Date: 19 Apr 88 04:18:39 GMT
References: <252@gould.doc.ic.ac.uk>
Organization: EE and CS, Uni of NSW, Sydney, Australia
Lines: 23
Summary: More interesting pxp behaviour