Bash
5.0-beta2
Bash - Bourne Again shell
|
Go to the source code of this file.
Macros | |
#define | FNM_PATHNAME (1 << 0) /* No wildcard can ever match `/'. */ |
#define | FNM_NOESCAPE (1 << 1) /* Backslashes don't quote special chars. */ |
#define | FNM_PERIOD (1 << 2) /* Leading `.' is matched only explicitly. */ |
#define | FNM_LEADING_DIR (1 << 3) /* Ignore `/...' after a match. */ |
#define | FNM_CASEFOLD (1 << 4) /* Compare without regard to case. */ |
#define | FNM_EXTMATCH (1 << 5) /* Use ksh-like extended matching. */ |
#define | FNM_FIRSTCHAR (1 << 6) /* Match only the first character */ |
#define | FNM_NOMATCH 1 |
Functions | |
int strmatch | __P ((char *, char *, int)) |
#define FNM_PATHNAME (1 << 0) /* No wildcard can ever match `/'. */ |
Definition at line 35 of file strmatch.h.
Referenced by glob_name_is_acceptable(), and glob_vector().
#define FNM_NOESCAPE (1 << 1) /* Backslashes don't quote special chars. */ |
Definition at line 36 of file strmatch.h.
#define FNM_PERIOD (1 << 2) /* Leading `.' is matched only explicitly. */ |
Definition at line 37 of file strmatch.h.
Referenced by glob_vector().
#define FNM_LEADING_DIR (1 << 3) /* Ignore `/...' after a match. */ |
Definition at line 45 of file strmatch.h.
#define FNM_CASEFOLD (1 << 4) /* Compare without regard to case. */ |
Definition at line 46 of file strmatch.h.
Referenced by exec_name_should_ignore(), and glob_vector().
#define FNM_EXTMATCH (1 << 5) /* Use ksh-like extended matching. */ |
Definition at line 47 of file strmatch.h.
Referenced by find_index_in_alist(), find_string_in_alist(), glob_vector(), and sh_modcase().
#define FNM_FIRSTCHAR (1 << 6) /* Match only the first character */ |
Definition at line 49 of file strmatch.h.
#define FNM_NOMATCH 1 |
Definition at line 54 of file strmatch.h.
Referenced by exec_name_should_ignore(), execute_case_command(), find_index_in_alist(), find_string_in_alist(), glob_name_is_acceptable(), glob_vector(), if(), match_upattern(), remove_upattern(), sh_modcase(), and strmatch().
int strmatch __P | ( | (char *, char *, int) | ) |