Skip to content

Conversation

@babblebey
Copy link
Member

Word

Glob

Meaning/Definition

In computing, glob (short for global) refers to a pattern-matching technique used to specify sets of filenames or paths using wildcard characters.

It’s most common in Unix-like shells (e.g., Bash, Zsh) and many programming languages. Instead of listing each file explicitly, you can use a glob pattern to match multiple files at once.

Common Glob Patterns:

  • * → matches zero or more characters

    • Example: *.txt matches all files ending in .txt.
  • ? → matches exactly one character

    • Example: file?.csv matches file1.csv, fileA.csv, but not file10.csv.
  • [ ] → matches any one character from inside the brackets

    • Example: file[0-9].log matches file1.log to file9.log.
  • { } → matches a comma-separated list of options (in some shells/languages)

    • Example: *.{jpg,png} matches all .jpg and .png files.

@jargons-dev jargons-dev bot added 💻via-jargons-editor This issue/PR was generated through jargons editor 📖new-word This PR is a new word contribution labels Sep 3, 2025
@vercel
Copy link

vercel bot commented Sep 3, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
jargons-dev Ready Ready Preview Comment Sep 3, 2025 10:03am

@babblebey babblebey merged commit aedc807 into jargonsdev:main Sep 3, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

📖new-word This PR is a new word contribution 💻via-jargons-editor This issue/PR was generated through jargons editor

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant