📜  grep 通配符 - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:51:19.501000             🧑  作者: Mango

代码示例1
# EXAMPLE: Displays all files containing a row that has "dSales[some-text]500"
grep "dSales.*500" *

# SYNTAX
# grep ".*" *

# The ".*" is considered the wildcard (and can match more 
# than one character and/or no characters at all)