-e, --regexp
Use PATTERNS for matching.
An option of grepx.
Usage
grepx -e PATTERNS PATTERNS [FILE]...
grepx --regexp=PATTERNS PATTERNS [FILE]...Details
| Short | Long | Value | Default | Meaning |
|---|---|---|---|---|
-e | --regexp | PATTERNS | use PATTERNS for matching |
Examples
Drop comment lines and empty lines from a configuration file
grepx -v -e '^#' -e '^$' app.confHelp in the terminal
gnux help grepx --regexp