What version of ripgrep are you using?
ripgrep 12.1.1
-SIMD -AVX (compiled)
+SIMD +AVX (runtime)
How did you install ripgrep?
brew install ripgrep
What operating system are you using ripgrep on?
macOS Big Sur 11.0.1 (20B29)
Describe your bug.
Under PowerShell, when piping output to ripgrep it seems to search in the current directory instead of in the piped input.
What are the steps to reproduce the behavior?
In a directory containing a single file test.txt containing the line "infile", try searching input using rg.
What is the actual behavior?
$ echo "input" | rg input
$ echo "input" | rg input -
input
$ echo "input" | rg infile
test.txt
1:infile
What is the expected behavior?
The input should be searched instead of current directory.
What version of ripgrep are you using?
How did you install ripgrep?
brew install ripgrepWhat operating system are you using ripgrep on?
macOS Big Sur 11.0.1 (20B29)
Describe your bug.
Under PowerShell, when piping output to ripgrep it seems to search in the current directory instead of in the piped input.
What are the steps to reproduce the behavior?
In a directory containing a single file
test.txtcontaining the line "infile", try searching input usingrg.What is the actual behavior?
What is the expected behavior?
The input should be searched instead of current directory.