Re:Find Files (Ff) – File Search Utility in Rust
by sagartewari01 on Wednesday February 27, 2019 @02:45AM
(#19261650)
What does this tool provide that I can't get from a wrapper around gnu find?
[ Parent
| on HN ]
Re:Find Files (Ff) – File Search Utility in Rust
by ethelward on Wednesday February 27, 2019 @04:34AM
(#19262099)
What does GNU find provides that I can't get from a wrapper around Perl?
Re:Find Files (Ff) – File Search Utility in Rust
by olejorgenb on Wednesday February 27, 2019 @07:52AM
(#19262910)
- It frees you from writing the wrapper (duh)
- It probably have more niceties than a 5min wrapper (color, friendly defaults, etc.)
I've personally used a homemade find wrapper for years, but have now replaced it with `fd` (another find reimplementation). The advantages isn't huge, but I find the niceties I never bothered implementing - well - nice :)
That being said: I did get burned by the default behavior of ignoring hidden files :D
Would've been nice if it by default didn't show hidden matches, but printed on stderr - something like:
$ fd thing
foo/something
...
>searching hidden files - ^C to abort<
>hidden files found (29) - use `--hidden` to show<
Re:Find Files (Ff) – File Search Utility in Rust
by rkangel on Wednesday February 27, 2019 @06:15AM
(#19262488)
If nothing else - ability to easily compile for native Windows and work as expected (with no Cygwin/GnuWin32 fun).
Re:Find Files (Ff) – File Search Utility in Rust
by mbaeten on Wednesday February 27, 2019 @07:57AM
(#19262931)
It might also be valuable to projects like Redox.
Re:Find Files (Ff) – File Search Utility in Rust
by vishaltelangre on Wednesday February 27, 2019 @11:16AM
(#19264133)
Related discussion - https://www.reddit.com/r/rust/comments/av31ae/ff_find_files_....
Re:Find Files (Ff) – File Search Utility in Rust
by baq on Wednesday February 27, 2019 @05:23AM
(#19262279)
probably nothing, is that a problem?
Re:Find Files (Ff) – File Search Utility in Rust
by scbrg on Wednesday February 27, 2019 @06:00AM
(#19262430)
Not a problem, but it's still a valid question. I'm all for people writing alternatives to existing tools. I've done so myself multiple times.
But when you start promoting your alternative, "so what's does it do better?" is a very reasonable question for other people to ask.
After all, they are the ones who need to invest time in learning the new tool, perhaps add it as a dependency in their tool chain/work flow - with all the downsides that has.
Re:Find Files (Ff) – File Search Utility in Rust
by atoav on Wednesday February 27, 2019 @06:42AM
(#19262598)
The readme states it is ~3 to 5 times faster. And it seems to have a more beginner friendly syntax.
I am not aperson who just has to use the newest and gratest for the sake of it, but I’d take ripgrep/rg over grep whenever I have the choice.