Skip to Content
gnux

-L, --files-without-match

Print only the names of FILEs with no selected lines.

An option of grepx.

Usage

grepx -L PATTERNS [FILE]...
grepx --files-without-match PATTERNS [FILE]...

Details

ShortLongValueDefaultMeaning
-L--files-without-matchnoneprint only the names of FILEs with no selected lines

Examples

List the Go files that lack a license header

grepx -rL --include='*.go' 'SPDX-License-Identifier' .

Help in the terminal

gnux help grepx --files-without-match

On this page