grep:
grep -d skip -L '^- ' *
. find, .
, grep -L '^- ' -R . ( -R POSIX, GNU, BSD/macOS grep).
-L, Jamil Said, , ( ) , .
-d skip ( -d POSIX, GNU, BSD/macOS grep).
. hek2mgl , , *, , , /usr/bin/grep: Argument list too long.
( , grep -R ., .)
. getconf ARG_MAX, , , > - . .
5000 , , , . , macOS - / [1]
.
Linux .
, xargs :
printf '%s\0' * | xargs -0 grep -d skip -L '^- '
, -0 NUL- POSIX, GNU, BSD/macOS xargs.
, xargs , grep , .
[1] macOS 10.12 262,144 (256 ); , 250,000 , 250000 / 5000 == 50 _ + ( ) 49 .
, Ubuntu 16.04 8 : 2,097,152 (2 ).