Re: "search --path=directory/" is lame(-ish)

Subject: Re: "search --path=directory/" is lame(-ish)

Date: Wed, 29 Mar 2017 07:34:08 -0300

To: David Edmondson,


From: David Bremner

David Edmondson <> writes:

> Adding a terminal slash to a directory name when using --path causes the
> search to fail. Removing the terminal slash produces results.
> Given that many shells will add the terminal slash during completion,
> this is lame(-ish).

This would be relatively straightforward to impliment on top of

In particular add a filter to strip trailing / in the non-regex case.