diff
Daniel Shahaf
d.s at daniel.shahaf.name
Tue Dec 14 18:44:05 IST 2021
אורי 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).
More information about the Linux-il
mailing list