I am trying to redirect the results of rg
to comm
to compare the match intersection. Fish seems to think that I will be passing a file path and and not the stream.
> comm -12 <(rg -l "\\bar\\b" | sort) <(rg -l "@" | sort)
fish: Invalid redirection target: (rg -l "\\bar\\b" | sort)
comm -12 <(rg -l "\\bar\\b" | sort) <(rg -l "@" | sort)
^
fish: Invalid redirection target: (rg -l "@" | sort)
comm -12 <(rg -l "\\bar\\b" | sort) <(rg -l "@" | sort)