Module posix.glob
Generate pathnames matching a shell-style pattern.
Functions generating a table of filenames that match a shell-style pattern string.
Functions
glob ([pat="*"], flags) | Find all files in this directory matching a shell pattern. |
Constants
posix.glob | Glob constants. |
Functions
- glob ([pat="*"], flags)
-
Find all files in this directory matching a shell pattern.
Parameters:
- pat string shell glob pattern (default "*")
- flags currently limited to posix.glob.GLOB_MARK
Returns:
-
table
matching filenames
See also: