1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2024-10-28 11:19:46 +01:00

locate: wrap glob with quotes (#10495)

This commit is contained in:
Anton Karmanov 2023-07-19 08:23:10 +03:00 committed by GitHub
parent 9bcde9b006
commit 1d44670284
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -9,7 +9,7 @@
- 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: