Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.milw.wisc.edu!indri!nic.MR.NET!hal!ncoast!allbery From: allbery@ncoast.ORG (Brandon S. Allbery) Newsgroups: comp.unix.wizards Subject: Re: /dev/fd Message-ID: <13588@ncoast.ORG> Date: 21 Apr 89 00:33:52 GMT References: <16817@mimsy.UUCP> <257@jwt.UUCP> Reply-To: allbery@ncoast.UUCP (Brandon S. Allbery) Followup-To: comp.unix.wizards Organization: Cleveland Public Access UN*X, Cleveland, Oh Lines: 25 As quoted from <257@jwt.UUCP> by john@jwt.UUCP (John Temples): +--------------- | In article <16817@mimsy.UUCP> chris@mimsy.UUCP (Chris Torek) writes: | >shuffle puts them back), then the ksh syntax | > | > shuffle <(process1) <(process2) | > | >produces on standard output the combined output of the two processes, | | I tried this (with diff, not shuffle) on two different kshs, and both barfed | on the syntax. Is this only supported under certain versions of ksh or Unix? +--------------- The only ksh'es I've used require that Unix have the /dev/fd/n driver installed to do this. While it is possible to get this behavior by the use of named pipes, ksh doesn't use them when /dev/fd/n doesn't exist. (Perhaps the most recent version, released a month or so ago if I remember correctly, does -- but *I* don't have it and chances are that you don't either.) ++Brandon -- Brandon S. Allbery, moderator of comp.sources.misc allbery@ncoast.org uunet!hal.cwru.edu!ncoast!allbery ncoast!allbery@hal.cwru.edu Send comp.sources.misc submissions to comp-sources-misc@ NCoast Public Access UN*X - (216) 781-6201, 300/1200/2400 baud, login: makeuser