🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.arch
Article #13367

Re: String Processing Instruction

#13367
From: jesup
Date: Tue, 31 Mar 1987 22:49
16 lines
1472 bytes
In article <15829@sun.uucp> guy@sun.UUCP (Guy Harris) writes:
>
>I'd be interested to know how much string processing is, in fact,
>done by *ad hoc* code because it didn't quite match the string
>routines available on the system?  "strtok" and company weren't in
>V7, so people would usually have done their own string-chopping.

	For the shell I wrote for the Amiga (and for other programs as
well), I have often used a set of string routines I wrote that always
returns a pointer to the END of the string, not the beginning.  This way
I rarely, if ever, have to call strcat.  I usually know what the beginning
of the string is (except for things like strcpy(malloc(SIZE),string)).

	Randell Jesup
	jesup@steinmetz.uucp
	jesup@ge-crd.arpa
Technical Details
Message-ID: <1366@steinmetz.steinmetz.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watnot!watmath!clyde!rutgers!lll-lcc!styx!ames!ptsfa!ihnp4!chinet!steinmetz!jesup
References: <15292@amdcad.UUCP> <978@ames.UUCP> <909@spar.SPAR.SLB.COM> <236@winchester.mips.UUCP> <182@homxb.UUCP> <15829@sun.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!utgpu!water!watnot!watmath!clyde!rutgers!lll-lcc!styx!ames!ptsfa!ihnp4!chinet!steinmetz!jesup
From: jesup@steinmetz.UUCP
Newsgroups: comp.arch
Subject: Re: String Processing Instruction
Message-ID: <1366@steinmetz.steinmetz.UUCP>
Date: Tue, 31-Mar-87 17:49:00 EST
Article-I.D.: steinmet.1366
Posted: Tue Mar 31 17:49:00 1987
Date-Received: Sat, 4-Apr-87 06:18:29 EST
References: <15292@amdcad.UUCP> <978@ames.UUCP> <909@spar.SPAR.SLB.COM> <236@winchester.mips.UUCP> <182@homxb.UUCP> <15829@sun.uucp>
Reply-To: jesup@kbsvax.steinmetz.UUCP (Randell Jesup)
Distribution: na
Organization: General Electric CRD, Schenectady, NY
Lines: 16