find: always enclose the pattern in quotes (#3983)

As mentioned in man page, should always enclose the pattern in quotes in order to protect it from expansion by the shell.
This commit is contained in:
kongmoumou
2020-04-16 00:51:26 +08:00
committed by GitHub
parent a2b988c82b
commit d5c3d824c5

View File

@@ -12,7 +12,7 @@
- Find directories matching a given name, in case-insensitive mode: - Find directories matching a given name, in case-insensitive mode:
`find {{root_path}} -type d -iname {{*lib*}}` `find {{root_path}} -type d -iname '{{*lib*}}'`
- Find files matching a path pattern: - Find files matching a path pattern: