Thank you, Bill Joy!
John Young
jgy at hropus.UUCP
Tue Sep 6 12:17:25 AEST 1988
> In article <2323 at munnari.oz>, kre at 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....
More information about the Comp.unix.wizards
mailing list