locate: wrap glob with quotes (#10495)
This commit is contained in:
@@ -9,7 +9,7 @@
|
|||||||
|
|
||||||
- Look for a file by its exact filename (a pattern containing no globbing characters is interpreted as `*pattern*`):
|
- Look for a file by its exact filename (a pattern containing no globbing characters is interpreted as `*pattern*`):
|
||||||
|
|
||||||
`locate */{{filename}}`
|
`locate '*/{{filename}}'`
|
||||||
|
|
||||||
- Recompute the database. You need to do it if you want to find recently added files:
|
- Recompute the database. You need to do it if you want to find recently added files:
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user