From d5c3d824c5d0e063235c72720832b1faa856fbe5 Mon Sep 17 00:00:00 2001 From: kongmoumou <35442047+kongmoumou@users.noreply.github.com> Date: Thu, 16 Apr 2020 00:51:26 +0800 Subject: [PATCH] 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. --- pages/common/find.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/common/find.md b/pages/common/find.md index ea8f98dcd..e4135d525 100644 --- a/pages/common/find.md +++ b/pages/common/find.md @@ -12,7 +12,7 @@ - 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: