mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-11-10 00:33:53 +01:00
new shell option to force globbing never to return .' and ..' as matches
This commit is contained in:
1 parent
701f36c2c3
commit
186129835e
21 files changed
+230
-32
No files matched your search
+1
-1
@@ -103,7 +103,7 @@ int glob_ignore_case = 0;
|
||||
/* Global variable controlling whether globbing ever returns . or ..
|
||||
regardless of the pattern. If set to 1, no glob pattern will ever
|
||||
match `.' or `..'. Disabled by default. */
|
||||
int glob_always_skip_dot_and_dotdot = 0;
|
||||
int glob_always_skip_dot_and_dotdot = 1;
|
||||
|
||||
/* Global variable to return to signify an error in globbing. */
|
||||
char *glob_error_return;
|
||||
|
||||
Reference in new issue
Block a user