Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!umcp-cs!chris From: chris@umcp-cs.UUCP (Chris Torek) Newsgroups: net.unix-wizards Subject: Re: comm '! sort file1' '! sort file2' Message-ID: <3724@umcp-cs.UUCP> Date: Mon, 6-Oct-86 23:23:10 EDT Article-I.D.: umcp-cs.3724 Posted: Mon Oct 6 23:23:10 1986 Date-Received: Wed, 8-Oct-86 07:07:50 EDT References: <6846@elsie.UUCP> <830003@hpcnoe.UUCP> <35@pixutl.UUCP> Reply-To: chris@umcp-cs.UUCP (Chris Torek) Organization: University of Maryland, Dept. of Computer Sci. Lines: 25 >/ ado@elsie.UUCP (Arthur David Olson) / 8:20 am Sep 22, 1986 / >>I regularly want to run "comm" on a pair of unsorted files. >> [ ... ] >>All fine and dandy. But then I got to thinking. . .that what I'd *really* >>like to be able to do is use a command like >> >> comm '! sort file1' '! sort file2' >> In article <35@pixutl.UUCP> chris@pixutl.UUCP (chris) writes: >It can be done easily on SYSV, using fifo's. Unfortunately, one must be root to create a fifo, no? It should (but is not presently) possible to do this in 4.3BSD using AF_UNIX sockets. The socket `file' that is created should be usable by any ordinary process. An open() could be translated into a socket(),connect() pair, and the process would then be talking to the creator of the socket. Perhaps in 4.4... -- In-Real-Life: Chris Torek, Univ of MD Comp Sci Dept (+1 301 454 1516) UUCP: seismo!umcp-cs!chris CSNet: chris@umcp-cs ARPA: chris@mimsy.umd.edu