Skip to Content
gnux

-F, --fixed-strings

PATTERNS are strings.

An option of grepx.

Usage

grepx -F PATTERNS [FILE]...
grepx --fixed-strings PATTERNS [FILE]...

Details

ShortLongValueDefaultMeaning
-F--fixed-stringsnonePATTERNS are strings

Examples

Search for text that holds regular expression characters, literally

grepx -F 'price[0] * 1.5' *.js

Take the patterns from a file, one to a line, as fixed strings

grepx -F -f blocklist.txt users.csv

Help in the terminal

gnux help grepx --fixed-strings

On this page