Re: diff

2021-12-14 Thread Yedidyah Bar David
On Tue, Dec 14, 2021 at 5:45 PM Mark E. Fuller wrote: > > > It's such a small thing, but I really enjoyed being privy to this > question and discussion today. > > On 14/12/2021 17:21, Daniel Shahaf wrote: > > אורי wrote on Tue, 14 Dec 2021 07:44 +00:00: > >> Actually I prefer the "<(..)" method, b

Re: diff

2021-12-14 Thread אורי
comm -3 works here. אורי u...@speedy.net On Tue, Dec 14, 2021 at 6:45 PM Daniel Shahaf 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 > > wrote: > > > >> אורי wrote on Tue, 14 Dec 2021 07:44 +00:00: >

Re: diff

2021-12-14 Thread Daniel Shahaf
אורי wrote on Tue, 14 Dec 2021 15:32 +00:00: > אורי > u...@speedy.net > > > On Tue, Dec 14, 2021 at 5:22 PM Daniel Shahaf > 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 <(p

Re: diff

2021-12-14 Thread Mark E. Fuller
It's such a small thing, but I really enjoyed being privy to this question and discussion today. On 14/12/2021 17:21, Daniel Shahaf 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 | s

Re: diff

2021-12-14 Thread אורי
אורי u...@speedy.net On Tue, Dec 14, 2021 at 5:22 PM Daniel Shahaf 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) > > > > Consi

Re: diff

2021-12-14 Thread Daniel Shahaf
אורי 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/. > Or even use cat and echo to add a specific line to one of the outputs.