Systems

vglob

Finds the files on disk whose paths match a pattern.

Released v1.0.0 · 2026-09-28
Import
use "stdlib/glob.ven"

Filesystem pathname pattern matching, such as listing every file that matches a wildcard pattern in a folder, built on Venutian's own filesystem builtins together with the standard library's own filename pattern package. It mirrors the everyday case of expanding a pattern like a shell would, against real files on disk.

vglob.ven
print glob("reports/*.txt")
Reference (2 functions)

API reference

glob(pattern)

Expands a shell-style glob pattern against the real filesystem.

glob("reports/*.txt")
:: gives: ["reports/feb.txt", "reports/jan.txt"]

escape(pathname)

Escapes any glob wildcard characters in pathname for a literal match.

escape("report_[1].txt")
:: gives: "report_[[]1].txt"

Get notified when vglob changes

Get notified about

New versions and security advisories.

New and updated packages, once a day.

News on the math model built in Venutian.