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 |