Shell Commands Glob Pattern Syntax/Rules

6 09 2011

Glob patterns are like simplified regular expressions that shells use. An asterisk
(*) matches zero or more characters; [abc] matches any character inside the
brackets (in this case a, b, or c); a question mark (?) matches a single character;
and brackets enclosing characters separated by a hyphen([0-9]) matches any
character between them (in this case 0 through 9) .

Advertisements

Actions

Information

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s




%d bloggers like this: