Add example to hiddenfiles documentation (#1073)

* Improve documentation

* fix missing quote

* update manpage
This commit is contained in:
valoq authored and GitHub committed 2023-02-11 20:01:20 +03:00
1 parent 6440281e82
commit 0b99aaed4e
3 files changed
+9 -8

No files matched your search

+3 -3
View File
@@ -650,7 +650,7 @@ When this value is set to 0, find command prompts until there is only a single m
globsearch bool (default off) globsearch bool (default off)
When this option is enabled, search command patterns are considered as globs, otherwise they are literals. When this option is enabled, search command patterns are considered as globs, otherwise they are literals.
With globbing, '*' matches any sequence, '?' matches any character, and '[...]' or '[^...] matches character sets or ranges. With globbing, '*' matches any sequence, '?' matches any character, and '[...]' or '[^...]' matches character sets or ranges.
Otherwise, these characters are interpreted as they are. Otherwise, these characters are interpreted as they are.
hidden bool (default off) hidden bool (default off)
@@ -663,8 +663,8 @@ On Windows, only files with hidden attributes are considered hidden files.
List of hidden file glob patterns. List of hidden file glob patterns.
Patterns can be given as relative or absolute paths. Patterns can be given as relative or absolute paths.
Globbing supports the usual special characters, '*' to match any sequence, '?' to match any character, and '[...]' or '[^...] to match character sets or ranges. Globbing supports the usual special characters, '*' to match any sequence, '?' to match any character, and '[...]' or '[^...]' to match character sets or ranges.
In addition, if a pattern starts with '!', then its matches are excluded from hidden files. In addition, if a pattern starts with '!', then its matches are excluded from hidden files. To add multiple patterns, use ':' as a separator. Example: '.*:lost+found:*.bak'
history bool (default on) history bool (default on)
+4 -3
View File
@@ -681,7 +681,7 @@ find command prompts until there is only a single match left.
When this option is enabled, search command patterns are considered as globs, When this option is enabled, search command patterns are considered as globs,
otherwise they are literals. With globbing, '*' matches any sequence, '?' otherwise they are literals. With globbing, '*' matches any sequence, '?'
matches any character, and '[...]' or '[^...] matches character sets or ranges. matches any character, and '[...]' or '[^...]' matches character sets or ranges.
Otherwise, these characters are interpreted as they are. Otherwise, these characters are interpreted as they are.
hidden bool (default off) hidden bool (default off)
@@ -694,9 +694,10 @@ hidden files.
List of hidden file glob patterns. Patterns can be given as relative or List of hidden file glob patterns. Patterns can be given as relative or
absolute paths. Globbing supports the usual special characters, '*' to match any absolute paths. Globbing supports the usual special characters, '*' to match any
sequence, '?' to match any character, and '[...]' or '[^...] to match character sequence, '?' to match any character, and '[...]' or '[^...]' to match character
sets or ranges. In addition, if a pattern starts with '!', then its matches are sets or ranges. In addition, if a pattern starts with '!', then its matches are
excluded from hidden files. excluded from hidden files. To add multiple patterns, use ':' as a separator.
Example: '.*:lost+found:*.bak'
history bool (default on) history bool (default on)
+2 -2
View File
@@ -805,7 +805,7 @@ Number of characters prompted for the find command. When this value is set to 0,
globsearch bool (default off) globsearch bool (default off)
.EE .EE
.PP .PP
When this option is enabled, search command patterns are considered as globs, otherwise they are literals. With globbing, '*' matches any sequence, '?' matches any character, and '[...]' or '[^...] matches character sets or ranges. Otherwise, these characters are interpreted as they are. When this option is enabled, search command patterns are considered as globs, otherwise they are literals. With globbing, '*' matches any sequence, '?' matches any character, and '[...]' or '[^...]' matches character sets or ranges. Otherwise, these characters are interpreted as they are.
.PP .PP
.EX .EX
hidden bool (default off) hidden bool (default off)
@@ -817,7 +817,7 @@ Show hidden files. On Unix systems, hidden files are determined by the value of
hiddenfiles []string (default '.*') hiddenfiles []string (default '.*')
.EE .EE
.PP .PP
List of hidden file glob patterns. Patterns can be given as relative or absolute paths. Globbing supports the usual special characters, '*' to match any sequence, '?' to match any character, and '[...]' or '[^...] to match character sets or ranges. In addition, if a pattern starts with '!', then its matches are excluded from hidden files. List of hidden file glob patterns. Patterns can be given as relative or absolute paths. Globbing supports the usual special characters, '*' to match any sequence, '?' to match any character, and '[...]' or '[^...]' to match character sets or ranges. In addition, if a pattern starts with '!', then its matches are excluded from hidden files. To add multiple patterns, use ':' as a separator. Example: '.*:lost+found:*.bak'
.PP .PP
.EX .EX
history bool (default on) history bool (default on)