-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Closed
Labels
docAn issue with or an improvement to documentation.An issue with or an improvement to documentation.rollupA PR that has been merged with many others in a rollup.A PR that has been merged with many others in a rollup.
Description
What version of ripgrep are you using?
ripgrep 13.0.0
-SIMD -AVX (compiled)
+SIMD +AVX (runtime)
How did you install ripgrep?
cargo install ripgrep
What operating system are you using ripgrep on?
Debian GNU/Linux Stretch
Describe your bug.
--sort=path is not fully documented in rg --help output. I can imagine two different implementations: in the first one path simply sorted as strings. This is what you get when you run LC_ALL=C sort. So we get this order:
a+
a/a
a0
The second way is to threat / specially. This gives the following order:
a/a
a+
a0
My experiments show that rg --sort=path uses second way. But this is not documented, so I'm not sure I can rely on it
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
docAn issue with or an improvement to documentation.An issue with or an improvement to documentation.rollupA PR that has been merged with many others in a rollup.A PR that has been merged with many others in a rollup.