🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: PIPEs

#6337
From: Peter da Silva
Date: Sun, 04 Nov 1990 17:33
22 lines
1396 bytes
In article <1990Nov4.054222.24999@agate.berkeley.edu> pete@violet.berkeley.edu (Pete Goodeve) writes:
> I would whimper rather a lot over that choice!  I chose '^' to extend the
> pattern matching convention (in Mat), where it indicates a "slice" in the
> pattern (and I use it similarly in templates for rearranging the slices).

I'm unhappy with "extensions" to the pattern matching convention, particularly
since I think it should be done in the shell (well, I can dream). How about
making a second-order jump:

	^. in pascal becomes -> in C, so:

1> list lformat="%s" -> cpio -ocv > rdf:df0

So "->" is "redirect to program".

Or how about making a new command that uses the "+" syntax like in run?

1> pipe list lformat="%s" +
cpio -ocv >rdf:df0
-- 
Peter da Silva.   `-_-'
<peter@sugar.hackercorp.com>.
Technical Details
Message-ID: <6984@sugar.hackercorp.com>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rutgers!usc!zaphod.mps.ohio-state.edu!lavaca.uh.edu!menudo.uh.edu!sugar!peter
References: <53407.657565922@atronx.UUCP> <1990Nov3.073201.8227@agate.berkeley.edu> <6977@sugar.hackercorp.com> <1990Nov4.054222.24999@agate.berkeley.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rutgers!usc!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: PIPEs
Message-ID: <6984@sugar.hackercorp.com>
Date: 4 Nov 90 17:33:47 GMT
References: <53407.657565922@atronx.UUCP> <1990Nov3.073201.8227@agate.berkeley.edu> <6977@sugar.hackercorp.com> <1990Nov4.054222.24999@agate.berkeley.edu>
Reply-To: peter@sugar.hackercorp.com (Peter da Silva)
Organization: Sugar Land Unix - Houston
Lines: 22