Path: utzoo!censor!geac!torsqnt!news-server.csri.toronto.edu!cs.utexas.edu!usc!julius.cs.uiuc.edu!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!lll-winken!uunet!bria!mike Newsgroups: comp.arch Subject: Re: UNIX mind-set (was: How wrong is MS-DOS?) Message-ID: <354@bria> Date: 14 Jan 91 12:07:04 GMT References: <1991Jan13.113349.21937@ims.alaska.edu> <11305@lanl.gov> Reply-To: uunet!bria!mike (Michael Stefanik) Organization: Briareus Corporation, Los Angeles, CA Lines: 25 In article <11305@lanl.gov> lanl.gov!jlg (Jim Giles) writes: :[...] I can (on any UNIX) :do 'ls x*y' and get all the files whos names begin with x and end :with y. By the paradigm you just stated, I _should_ have to do :'ls | grep x*y'. The fact is, _even_ the UNIX implementors realized :that ls should have a built-in filter on file names. [...] Now wait a second here. For someone who has been using UNIX for over ten years, you're a tad green. First of all, it is the shell, not ls, that expands wildcards. Second of all, that grep expression you gave is nonsense ... you're telling grep to look for any number of x's which is then followed by a y. How about grep "^x.*y$" to do what you're talking about. If you're gonna slam UNIX and come from the position that you've used it for ten years and know it all, you better start showing that you know what the hell you were doing for those ten odd years ... And why the harping on pipes? Provide us with a better way for two processes to communicate transparently and anonymously (ie: no special provisions made within the programs themselves for said communication). -- Michael Stefanik, Systems Engineer (JOAT), Briareus Corporation UUCP: ...!uunet!bria!mike -- technoignorami (tek'no-ig'no-ram`i) a group of individuals that are constantly found to be saying things like "Well, it works on my DOS machine ..."