diff

diff

אורי uri at speedy.net
Tue Dec 14 19:00:45 IST 2021


comm -3 works here.
אורי
uri at speedy.net


On Tue, Dec 14, 2021 at 6:45 PM Daniel Shahaf <d.s at daniel.shahaf.name>
wrote:

> אורי wrote on Tue, 14 Dec 2021 15:32 +00:00:
> > אורי
> > uri at speedy.net
> >
> >
> > On Tue, Dec 14, 2021 at 5:22 PM Daniel Shahaf <d.s at daniel.shahaf.name>
> > wrote:
> >
> >> אורי wrote on Tue, 14 Dec 2021 07:44 +00:00:
> >> > Actually I prefer the "<(..)" method, because sometimes I want to
> >> compare 2
> >> > commands:
> >> >
> >> > diff <(pip freeze | sort) <(cat requirements.txt | sort)
> >> >
> >>
> >> Consider s/diff/comm -12/.
> >>
> >
> > ???
>
> s/foo/bar/ means "change foo to bar".  In this case, I was referring you
> to comm(1).  Your use-case there is right up comm(1)'s alley.
>
> «-12» is an argument to to comm(1).
>
> _______________________________________________
> Linux-il mailing list
> Linux-il at cs.huji.ac.il
> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.cs.huji.ac.il/pipermail/linux-il/attachments/20211214/1752bd97/attachment.html>


More information about the Linux-il mailing list