Glob (programming)

Glob (programming)

In computer programming, glob (/ɡlɑːb/) patterns specify sets of filenames with wildcard characters. For example, the Unix Bash shell command mv *.txt textfiles/ moves (mv) all files with names ending in .txt from the current directory to the directory textfiles. Here, * is a wildcard standing for "any string of characters except /" and *.txt is a glob pattern. The other common wildcard is the question mark (?), which stands for one character. For example, mv ?.txt shorttextfiles/ will move all files named with a single character followed by .txt from the current directory to directory shorttextfiles, while ??.txt would match all files whose name consists of 2 characters followed by .txt.

Comment
enIn computer programming, glob (/ɡlɑːb/) patterns specify sets of filenames with wildcard characters. For example, the Unix Bash shell command mv *.txt textfiles/ moves (mv) all files with names ending in .txt from the current directory to the directory textfiles. Here, * is a wildcard standing for "any string of characters except /" and *.txt is a glob pattern. The other common wildcard is the question mark (?), which stands for one character. For example, mv ?.txt shorttextfiles/ will move all files named with a single character followed by .txt from the current directory to directory shorttextfiles, while ??.txt would match all files whose name consists of 2 characters followed by .txt.
Cs1Dates
eny
Date
enJuly 2019
Depiction
IBM PC DOS 1.0 screenshot.png
Unix Glob Reference.png
Has abstract
enIn computer programming, glob (/ɡlɑːb/) patterns specify sets of filenames with wildcard characters. For example, the Unix Bash shell command mv *.txt textfiles/ moves (mv) all files with names ending in .txt from the current directory to the directory textfiles. Here, * is a wildcard standing for "any string of characters except /" and *.txt is a glob pattern. The other common wildcard is the question mark (?), which stands for one character. For example, mv ?.txt shorttextfiles/ will move all files named with a single character followed by .txt from the current directory to directory shorttextfiles, while ??.txt would match all files whose name consists of 2 characters followed by .txt. In addition to matching filenames, globs are also used widely for matching arbitrary strings (wildcard matching). In this capacity a common interface is fnmatch.
Is primary topic of
Glob (programming)
Label
enGlob (programming)
Link from a Wikipage to another Wikipage
Alternation (string expansion)
B (programming language)
Babel (compiler)
Bash (Unix shell)
Berkeley Software Distribution
Bourne shell
Brace expansion
Category:C POSIX library
Category:Pattern matching
Category:Unix programming tools
Cmd.exe
COMMAND.COM
Command line interface
Computer programming
C Sharp (programming language)
C shell
Cygwin
D (programming language)
DOS
Dotfiles
Ex (text editor)
File:IBM PC DOS 1.0 screenshot.png
File:Unix Glob Reference.png
Filename extension
File Transfer Protocol
Go (programming language)
Guido van Rossum
Haskell (programming language)
High-level programming language
Intel 8086
Intel 8088
Java (programming language)
JavaScript
Kleene star
Larry Wall
Library function
M
Matching wildcards
Npm (software)
NuGet
Perl
PHP
POSIX
Programming Perl
Proxy auto-config
Python (programming language)
ReactOS
Regular expression
Regular language
Ruby (programming language)
Rust (programming language)
Shell (computing)
Shell script
SQL
SQLite
String (computer science)
Tcl
Unix
Unix-like
Wildcard character
Wildcard characters
Wildcard matching
Wildmat
Windows PowerShell
Wine (software)
Zsh
SameAs
33CN9
Glob
Glob
Glob (programmering)
Glob (programmering)
Glob (programowanie)
Glob pattern
m.02g0vn
Q3283875
Шаблон поиска
グロブ
글로브 (프로그래밍)
Subject
Category:C POSIX library
Category:Pattern matching
Category:Unix programming tools
Thumbnail
Unix Glob Reference.png?width=300
WasDerivedFrom
Glob (programming)?oldid=1122577150&ns=0
WikiPageLength
20116
Wikipage page ID
484117
Wikipage revision ID
1122577150
WikiPageUsesTemplate
Template:Anchor
Template:Code
Template:IPAc-en
Template:Lowercase
Template:Reflist
Template:Tt
Template:Use dmy dates