-v, --invert-match
Select the lines that do not match.
An option of grepx.
Usage
grepx -v PATTERNS [FILE]...
grepx --invert-match PATTERNS [FILE]...Details
| Short | Long | Value | Default | Meaning |
|---|---|---|---|---|
-v | --invert-match | none | select the lines that do not match |
Examples
Drop comment lines and empty lines from a configuration file
grepx -v -e '^#' -e '^$' app.confHelp in the terminal
gnux help grepx --invert-match