On Wed, 15 Mar 2017 15:52:53 -0600, the...@sys-concept.com wrote:

> I think, by default "locate" wants to enclose the search location
> between two "*.....*" stars.  So if you will not put anything locate
> will put them for you.  If you put  only one star it will not find
> anything.

No need to think or suppose, the man page explains it clearly:

If --regex  is not specified, PATTERNs can contain globbing characters.
If any PATTERN  contains no globbing characters, locate  behaves as if
the pattern were *PATTERN*.


-- 
Neil Bothwick

And on the seventh day God said :wq and then make

Attachment: pgpf1psSdFep3.pgp
Description: OpenPGP digital signature

Reply via email to