Skip to Content
gnux

-i, --ignore-case

Ignore case distinctions in patterns and data.

An option of grepx.

Usage

grepx -i PATTERNS [FILE]...
grepx --ignore-case PATTERNS [FILE]...

Details

ShortLongValueDefaultMeaning
-i--ignore-casenoneignore case distinctions in patterns and data

Examples

Ignore case and show two lines of context around each match

grepx -i -C 2 'timeout' server.log

Filter another tool's output in a pipeline

lsx -l | grepx -i '\.log$'

Help in the terminal

gnux help grepx --ignore-case

On this page