🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Wildcard types

#6836
From: Peter da Silva
Date: Tue, 20 Nov 1990 02:54
18 lines
1379 bytes
In article <MWM.90Nov19150423@raven.relay.pa.dec.com> mwm@raven.relay.pa.dec.com (Mike (My Watch Has Windows) Meyer) writes:
> Is either one of these bright enough to do expansion against things
> other than files? I'd love to be able to do:

> break mem* c

> to kill a collection of processes...

In principle, yes. For Parseargs you pass an array containing the command
name and single-character flag (so you can use the same argument description
in systems like UNIX and MS-DOS which use single-character flags, and in
AmigaOS and VMS which use keywords), the type, and the function to parse
that flag.

Just write the function. :->
-- 
Peter da Silva.   `-_-'
<peter@sugar.hackercorp.com>.
Technical Details
Message-ID: <7088@sugar.hackercorp.com>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!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> <7085@sugar.hackercorp.com> <MWM.90Nov19150423@raven.relay.pa.dec.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!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
Message-ID: <7088@sugar.hackercorp.com>
Date: 20 Nov 90 02:54:13 GMT
References: <1990Nov16.171451.5668@gtisqr.uucp> <1990Nov16.234820.14783@msuinfo.cl.msu.edu> <a9rK02ZFe8RI01@amdahl.uts.amdahl.com> <1990Nov19.044047.850@NCoast.ORG> <7085@sugar.hackercorp.com> <MWM.90Nov19150423@raven.relay.pa.dec.com>
Reply-To: peter@sugar.hackercorp.com (Peter da Silva)
Organization: Sugar Land Unix - Houston
Lines: 18