Open camAtGitHub opened 2 years ago
Thanks for reaching out! :)
This is expected behavior - from the docs:
grep recursively searches the given SEARCH substring in key and value pairs of given PATH
I.e., (like unix grep) vsh grep does not grep paths for patterns, but rather searches all files for that pattern in a given path. I think what you are looking for would be sth similar to unix find
. I will mark this as a new feature request.
Hello,
its seems the
grep
command doesn't return results for paths that match. If you imagine a layout like this:You can see why being able to grep for 'server1' or 'statename' may be important.
My real example where I'm searching for 'syncthing'.
Many Thanks