Path: utzoo!utgpu!water!watmath!clyde!att!whuts!homxb!hropus!jgy From: jgy@hropus.UUCP (John Young) Newsgroups: comp.unix.wizards Subject: Re: Thank you, Bill Joy! Message-ID: <287@hropus.UUCP> Date: 6 Sep 88 02:17:25 GMT References: <2323@munnari.oz> <2662@uvacs.CS.VIRGINIA.EDU> Organization: Bell Labs, Holmdel, NJ Lines: 19 > In article <2323@munnari.oz>, kre@munnari.oz (Robert Elz) writes: > > What is needed is a way to do > > > > ls /a >/tmp/file > > ls /b | comm - !$ > > or > > echo old* > > rm !$ > > > > neither of which will do anything like what you want if you replace > > csh with ksh and !$ with $_ How about this (in ksh) comm <(ls /a) <(ls /b) No temporary files, no !$'s or $_'s etc.... Of course you need the /dev/fd driver but....