Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

grep wildcard

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

# SYNTAX
# grep "<your-partA>.*<your-partB>" *

# The ".*" is considered the wildcard (and can match more 
# than one character and/or no characters at all)
 
PREVIOUS NEXT
Tagged: #grep #wildcard
ADD COMMENT
Topic
Name
4+3 =