🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.postscript
Article #8419

Re: pcal - another version of the PostScript calendar generator

#8419
From: Russ Nelson
Date: Sat, 13 May 1989 15:06
17 lines
1184 bytes
I had to change the first part of parse() to get it to work under
SunOS 4.0 as shown below.  The stupid tolower changes everything to
lowercase, whether it is an uppercase letter or not!  Many thanks to Ken
for putting this together -- it's exactly what I was going to do (eventually).

	cp = strtok(lbuf, " \t");	/* get first field */
	while (*cp) {
		if (isupper(*cp))
			*cp = tolower(*cp);
		cp++;
	}
	cp = lbuf;

--
--russ (nelson@clutx [.bitnet | .clarkson.edu])
I'm a right-to-lifer -- everyone has a right to earn a living sufficient to
feed himself and his family.
Technical Details
Message-ID: <NELSON.89May13110648@sun.soe.clarkson.edu>
Path: arc1-ca.pugleaf.net!utzoo!attcan!utgpu!utstat!jarvis.csri.toronto.edu!mailrus!cornell!batcomputer!sun.soe.clarkson.edu!nelson
References: <5276@pbhyf.PacBell.COM>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!utgpu!utstat!jarvis.csri.toronto.edu!mailrus!cornell!batcomputer!sun.soe.clarkson.edu!nelson
From: nelson@sun.soe.clarkson.edu (Russ Nelson)
Newsgroups: comp.lang.postscript
Subject: Re: pcal - another version of the PostScript calendar generator
Message-ID: <NELSON.89May13110648@sun.soe.clarkson.edu>
Date: 13 May 89 15:06:48 GMT
References: <5276@pbhyf.PacBell.COM>
Sender: news@sun.soe.clarkson.edu
Reply-To: nelson@clutx.clarkson.edu
Organization: Clarkson University, Postdam NY
Lines: 17
In-reply-to: kjk@PacBell.COM's message of 12 May 89 16:42:47 GMT