On Thu Mar 12 11:10:17 PDT 2015, [email protected] wrote:
> erik quanstrom <[email protected]> writes:
> 
> > so an interesting problem i run into from time to time is separately 
> > computing
> > the files added to and deleted from a directory in a shell script.  uniq 
> > doesn't
> > work for this.  certainly one can loop over two lists of files and do
> > this easily,
> > but that seems dull and tedious.
> 
> Isn't this a canonical use case for comm(1)?

yes.  i hadn't thought of that.  that's trivial.

- erik

Reply via email to