在DOS時(shí)代通配符是搜索的必備參數(shù),到現(xiàn)在還是在很多場合使用。

當(dāng)我們看到wildcard這個單詞時(shí),可能會感到費(fèi)解,從字面上看是“野的”、“卡片”,怎么會跟計(jì)算機(jī)有什么關(guān)系,莫名其妙。

下面就介紹一下這個家伙:

通配符
wildcard character

定義:

A special symbol that stands for one or more characters. Many operating systems and applications support wildcards for identifying files and directories. This enables you to select multiple files with a single specification. For example, in DOS and Windows, the asterisk (*) is a wild card that stands for any combination of letters. The file specification
m*

therefore, refers to all files that begin with m. Similarly, the specification

m*.doc

refers to all files that start with m and end .

Many word processors also support wild cards for performing text searches.


例子:
(wildcard characters * and ? allowed, see examples)


細(xì)分:
asterisk wildcard 星號通配符

question mark wildcard 問號通配符