Gentoo Archives: gentoo-user

From: Neil Bothwick <neil@××××××××××.uk>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: locate can not find a file
Date: Wed, 15 Mar 2017 22:15:06
Message-Id: 20170315221443.4e9c2b09@digimed.co.uk
In Reply to: Re: [gentoo-user] Re: locate can not find a file by thelma@sys-concept.com
1 On Wed, 15 Mar 2017 15:52:53 -0600, thelma@×××××××××××.com wrote:
2
3 > I think, by default "locate" wants to enclose the search location
4 > between two "*.....*" stars. So if you will not put anything locate
5 > will put them for you. If you put only one star it will not find
6 > anything.
7
8 No need to think or suppose, the man page explains it clearly:
9
10 If --regex is not specified, PATTERNs can contain globbing characters.
11 If any PATTERN contains no globbing characters, locate behaves as if
12 the pattern were *PATTERN*.
13
14
15 --
16 Neil Bothwick
17
18 And on the seventh day God said :wq and then make