🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.amiga.tech
Article #6812

Re: Wildcard types

#6812
From: Peter da Silva
Date: Mon, 19 Nov 1990 13:18
16 lines
1389 bytes
In article <1990Nov19.044047.850@NCoast.ORG> davewt@NCoast.ORG (David Wright) writes:
> 	Haven't you ever programmed with ARP? One of the best things that
> ARP did was the removal of the clumsy argc/argv[] of normal C. ARP gave
> you PREPARSED command lines.

Which is totally useless, because it breaks compatibility between your program
and every other C runtime in existence. If I write a command-line oriented
program, I'm going to want it to compile correctly and run on the Amiga and
UNIX... and probably DOS as well.

These days I just use "parseargs", which does the same thing but remains
compatible with existing C runtimes by operating on an argv and coming with
source code.
-- 
Peter da Silva.   `-_-'
<peter@sugar.hackercorp.com>.
Technical Details
Message-ID: <7085@sugar.hackercorp.com>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!nih-csl!lhc!mimsy!haven!udel!wuarchive!zaphod.mps.ohio-state.edu!lavaca.uh.edu!menudo.uh.edu!sugar!peter
References: <1990Nov16.171451.5668@gtisqr.uucp> <1990Nov16.234820.14783@msuinfo.cl.msu.edu> <a9rK02ZFe8RI01@amdahl.uts.amdahl.com> <1990Nov19.044047.850@NCoast.ORG>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!nih-csl!lhc!mimsy!haven!udel!wuarchive!zaphod.mps.ohio-state.edu!lavaca.uh.edu!menudo.uh.edu!sugar!peter
From: peter@sugar.hackercorp.com (Peter da Silva)
Newsgroups: comp.sys.amiga.tech
Subject: Re: Wildcard types
Keywords: ARP, command line parsing
Message-ID: <7085@sugar.hackercorp.com>
Date: 19 Nov 90 13:18:17 GMT
References: <1990Nov16.171451.5668@gtisqr.uucp> <1990Nov16.234820.14783@msuinfo.cl.msu.edu> <a9rK02ZFe8RI01@amdahl.uts.amdahl.com> <1990Nov19.044047.850@NCoast.ORG>
Reply-To: peter@sugar.hackercorp.com (Peter da Silva)
Organization: Sugar Land Unix - Houston
Lines: 16