diff --git a/pages/common/fd.md b/pages/common/fd.md index 35b475704..d441942db 100644 --- a/pages/common/fd.md +++ b/pages/common/fd.md @@ -4,13 +4,13 @@ > Aims to be faster and easier to use than `find`. > More information: . -- Recursively find files matching the given pattern in the current directory: +- Recursively find files matching a specific pattern in the current directory: -`fd {{pattern}}` +`fd "{{string|regex}}"` - Find files that begin with `foo`: -`fd '^foo'` +`fd "^foo"` - Find files with a specific extension: @@ -18,12 +18,12 @@ - Find files in a specific directory: -`fd '{{pattern}}' {{path/to/directory}}` +`fd "{{string|regex}}" {{path/to/directory}}` - Include ignored and hidden files in the search: -`fd --hidden --no-ignore '{{pattern}}'` +`fd --hidden --no-ignore "{{string|regex}}"` - Execute a command on each search result returned: -`fd '{{pattern}}' --exec {{command}}` +`fd "{{string|regex}}" --exec {{command}}`