#24 option to match basename without extension
Opened 10 years ago by dicktyr. Modified 7 years ago

please add an option to match basename without extension


Thanks for your report.

It is already possible to match a basename with arbitrary extension, e.g.
{{{
locate -b 'config.*'
}}}

Does that do what you need? If not, what exactly are you looking for?

thanks for your reply

I need to match against the basename without matching the extension

{{{
locate -b -r 'f.*b'
}}}

the above must match {{{foobar}}} and {{{foo.b.ar}}} without matching {{{foo.bar}}}

Login to comment on this ticket.

Metadata