rg (ripgrep 15.2), grep (ours, on ripgrep's regex crates), find and xargs (ours), sed (uutils 0.3 wrapper), diff and cmp (uutils diffutils 0.6 with -r), fd 10.5, jaq 2.3, env and timeout. userland/spawn is a small Command-like client of the process interface. search-test.nu: 42 cases match native tools.
18 lines
834 B
Rust
18 lines
834 B
Rust
pub const SHERLOCK: &'static str = "\
|
|
For the Doctor Watsons of this world, as opposed to the Sherlock
|
|
Holmeses, success in the province of detective work must always
|
|
be, to a very large extent, the result of luck. Sherlock Holmes
|
|
can extract a clew from a wisp of straw or a flake of cigar ash;
|
|
but Doctor Watson has to have it taken out for him and dusted,
|
|
and exhibited clearly, with a label attached.
|
|
";
|
|
|
|
pub const SHERLOCK_CRLF: &'static str = "\
|
|
For the Doctor Watsons of this world, as opposed to the Sherlock\r
|
|
Holmeses, success in the province of detective work must always\r
|
|
be, to a very large extent, the result of luck. Sherlock Holmes\r
|
|
can extract a clew from a wisp of straw or a flake of cigar ash;\r
|
|
but Doctor Watson has to have it taken out for him and dusted,\r
|
|
and exhibited clearly, with a label attached.\r
|
|
";
|