zet doesn't seem to work with process substitution
Closed this issue · 2 comments
elkarouh commented
Hi,
I want to find the intersection of 2 ripgrep commands.
I thought of using process substitution:
zet <(rg --color=never --no-heading --no-column PATTERN1) <(rg --color=never --no-heading --no-column PATTERN2)
but it doesn't seem to work.
yarrow commented
Did you leave out the intersect
subcommand?
I think zet intersect <(rg --color=never --no-heading --no-column PATTERN1) <(rg --color=never --no-heading --no-column PATTERN2)
will do what you want.
elkarouh commented
Indeed.
Thank you for correcting me !
…On Thu, Oct 28, 2021 at 3:10 AM Yarrow ***@***.***> wrote:
Closed #3 <#3>.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#3 (comment)>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAXGMAXDGMU756MEXFWBDO3UJC5JFANCNFSM5GW5KXZQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.