-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Closed
Labels
wontfixA feature or bug that is unlikely to be implemented or fixed.A feature or bug that is unlikely to be implemented or fixed.
Description
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.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
wontfixA feature or bug that is unlikely to be implemented or fixed.A feature or bug that is unlikely to be implemented or fixed.