comm -3 works here. אורי u...@speedy.net
On Tue, Dec 14, 2021 at 6:45 PM Daniel Shahaf <d...@daniel.shahaf.name> wrote: > אורי wrote on Tue, 14 Dec 2021 15:32 +00:00: > > אורי > > u...@speedy.net > > > > > > On Tue, Dec 14, 2021 at 5:22 PM Daniel Shahaf <d...@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@cs.huji.ac.il > http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il >
_______________________________________________ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il