Mariusz Zaborski 24c681a7f6 grep: fix combination of quite and count flag
When the quite (-q) flag is provided, we don't expect any output.
Currently, the behavior is broken:
$ grep -cq flag util.c
1

$ grep -cs flag util.c
55

First of all, we print a number to stdout. Secondly, it just returns
0 or 1 (which is unexpected). GNU grep with c and q flags doesn't
print anything.

Reviewed by:	markj
Differential Revision:	https://reviews.freebsd.org/D31108
2021-07-09 14:09:14 +02:00
..
2021-03-13 18:26:15 +01:00
2021-06-21 08:40:54 -06:00
2021-06-21 08:40:54 -06:00
2019-01-12 12:35:02 +00:00
2021-06-25 16:02:40 -07:00
2019-12-11 17:37:53 +00:00
2020-11-16 18:41:49 +00:00
2020-10-09 14:03:45 +00:00
2019-12-11 17:37:53 +00:00
2021-06-13 22:01:15 +02:00
2020-10-21 16:30:34 +00:00
2020-06-23 10:27:41 +00:00
2020-07-27 16:51:23 +00:00
2020-10-10 13:01:04 +00:00
2020-10-09 19:12:44 +00:00
2021-01-07 09:31:03 +00:00
2021-03-03 14:21:56 -06:00
2020-10-30 09:48:41 +00:00
2021-05-13 10:10:22 +02:00
2021-03-13 18:26:15 +01:00
2020-10-29 18:39:04 +00:00
2020-11-19 19:05:16 +00:00
2020-10-24 16:40:34 +00:00
2021-04-06 11:57:07 +02:00
2020-12-26 11:47:47 -05:00
2019-12-11 17:37:53 +00:00
2020-06-29 15:15:14 +00:00
2020-11-29 18:22:14 +00:00
2021-06-15 06:51:16 -06:00
2020-12-19 12:54:00 +00:00
2020-10-09 19:12:44 +00:00
2020-06-20 11:27:59 +00:00
2021-07-02 09:21:05 +01:00
2021-01-09 18:37:25 +01:00
2021-01-29 10:53:50 -08:00
2019-11-12 22:31:59 +00:00
2021-04-18 19:46:19 -07:00
2020-06-25 16:46:27 +00:00
2020-12-11 08:04:54 +00:00
2020-12-11 19:27:21 +00:00
2020-12-29 21:48:12 +01:00
2020-12-29 21:35:24 +01:00
2021-01-09 18:22:08 +01:00
2021-06-21 21:04:58 -04:00
2021-07-02 08:42:34 +02:00
2020-06-18 08:26:26 +00:00
2019-12-11 17:37:53 +00:00
2021-01-29 23:52:13 -06:00
2021-05-31 16:12:44 -06:00
2018-11-20 00:06:53 +00:00
2020-07-01 16:33:32 +00:00
2020-06-27 11:19:18 +00:00
2018-07-03 19:09:46 +00:00
2018-06-25 11:44:56 +00:00
2021-01-05 16:32:27 +01:00
2020-06-20 11:24:29 +00:00
2019-12-11 17:37:53 +00:00
2021-06-18 18:08:30 +02:00
2021-07-06 10:51:05 +01:00
2020-06-18 15:14:10 +00:00
2019-05-01 19:35:45 +00:00
2019-12-11 17:37:53 +00:00
2020-03-26 17:58:52 +00:00
2021-05-10 23:14:35 -07:00
2020-06-23 10:22:58 +00:00
2019-12-11 17:37:53 +00:00
2020-10-09 14:03:45 +00:00
2020-07-07 16:07:39 +00:00
2021-06-08 18:30:59 +01:00
2020-08-30 17:37:56 +00:00
2019-11-20 19:43:34 +00:00
2021-01-02 10:50:08 +09:00
2020-09-11 13:28:37 +00:00
2018-11-12 07:14:34 +00:00
2021-05-21 22:51:21 +02:00
2021-06-21 08:40:54 -06:00
2020-08-24 17:57:08 +00:00
2020-08-30 17:40:59 +00:00
2020-12-12 15:38:32 +00:00
2020-01-25 21:16:45 +00:00
2020-07-14 01:54:24 +00:00
2020-09-11 13:28:37 +00:00