diff options
-rw-r--r-- | src/grep.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -2513,8 +2513,9 @@ main (int argc, char **argv) compile (keys, keycc); free (keys); + char eolbytes[2] = { eolbyte }; size_t match_size; - skip_empty_lines = ((execute (&eolbyte, 1, &match_size, NULL) == 0) + skip_empty_lines = ((execute (eolbytes, 1, &match_size, NULL) == 0) == out_invert); if ((argc - optind > 1 && !no_filenames) || with_filenames) |