Article View: comp.sys.amiga.tech
Article #6517Re: PIPEs
From: Ken Yarnall
Date: Fri, 09 Nov 1990 17:16
Date: Fri, 09 Nov 1990 17:16
26 lines
1824 bytes
1824 bytes
In article <7010@sugar.hackercorp.com> peter@sugar.hackercorp.com (Peter da Silva) writes:
+In article <1990Nov6.190147.10534@opusc.csd.scarolina.edu> yarnall@opusc.csd.scarolina.edu (Ken Yarnall) writes:
+> ls -l usr:big/ole/directory->more (which = ls -l usr:big/ole/dir -> more)
+
+So long as you make that:
+
+ list usr:big/old/directory->more
+
+Because making - a metacharacter will break UNIX-style command options. Which
+is probably a good thing, IMHO... they're usually the result of laziness on
+the part of the programmer who did the Amiga port.
Of course, that isn't true. I am not making `-' a metacharacter, I'm making
`->' one. The shell will grab the `->' before ls ever sees the commandline,
so my example works file. However, because of the great tonnage of utilities
out there that use Un*x-style switches (Hm. I guess I refuse to call SOME of
them lazy ;), we do need to avoid making `-' by itself special.
+Peter da Silva. `-_-'
ken
--
Ken Yarnall /// yarnall@usceast.cs.scarolina.EDU
Math Department, USC \\\/// yarnall@ucseast.UUCP
Columbia, S.C. 29208 \\\/ (803)777-5218
`You'd better tie me up.' -- from the movie, "Tie Me Up, Tie Me Down"
Technical Details
Message-ID:
<1990Nov9.171618.22833@opusc.csd.scarolina.edu>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rutgers!sun-barr!apple!usc!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!emory!hubcap!ncrcae!opusc!yarnallReferences:
<1990Nov6.075223.29417@agate.berkeley.edu> <1990Nov6.190147.10534@opusc.csd.scarolina.edu> <7010@sugar.hackercorp.com>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rutgers!sun-barr!apple!usc!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!emory!hubcap!ncrcae!opusc!yarnall From: yarnall@opusc.csd.scarolina.edu (Ken Yarnall) Newsgroups: comp.sys.amiga.tech Subject: Re: PIPEs Message-ID: <1990Nov9.171618.22833@opusc.csd.scarolina.edu> Date: 9 Nov 90 17:16:18 GMT References: <1990Nov6.075223.29417@agate.berkeley.edu> <1990Nov6.190147.10534@opusc.csd.scarolina.edu> <7010@sugar.hackercorp.com> Organization: Math Department, University of South Carolina (ahem; The USC) Lines: 26