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
..
2018-08-08 21:21:28 +00:00
2021-03-13 18:26:15 +01:00
2020-07-19 14:42:13 +00:00
2021-07-07 19:25:43 -06:00
2021-03-12 09:45:14 -07: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
2019-07-19 15:10:03 +00:00
2021-06-25 16:02:40 -07:00
2019-12-11 17:37:53 +00:00
2020-12-29 14:21:50 -08:00
2020-11-16 18:41:49 +00:00
2019-08-28 21:01:51 +00:00
2019-08-28 21:01:51 +00:00
2021-06-07 15:55:23 +02:00
2020-10-09 14:03:45 +00:00
2019-12-11 17:37:53 +00:00
2021-05-25 16:23:20 +01:00
2021-06-13 22:01:15 +02:00
2021-01-10 19:02:56 -05: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
2021-03-04 14:52:12 +01:00
2020-12-29 14:21:50 -08:00
2020-10-10 13:01:04 +00:00
2019-03-06 15:19:04 +00:00
2019-09-04 13:44:46 +00:00
2021-07-06 12:16:40 +01:00
2019-12-17 11:03:32 +00:00
2020-10-09 19:12:44 +00:00
2021-01-07 09:31:03 +00:00
2020-02-20 21:29:59 +00:00
2021-02-03 17:06:07 +00:00
2021-05-26 10:12:12 -04:00
2019-01-31 16:49:06 +00:00
2021-03-03 14:21:56 -06:00
2020-01-12 20:25:11 +00: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
2021-07-05 10:14:25 +08:00
2020-11-19 19:05:16 +00:00
2019-09-05 14:13:08 +00:00
2021-05-03 19:18:26 +03:00
2020-10-01 01:10:51 +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-09-13 14:51:00 +00:00
2021-07-09 14:09:14 +02:00
2020-12-08 23:38:26 +00: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
2019-02-07 14:29:45 +00:00
2020-11-20 16:41:32 +00:00
2020-06-20 11:27:59 +00:00
2019-09-21 15:01:11 +00:00
2021-06-16 16:28:27 +01:00
2020-06-27 11:28:11 +00:00
2019-08-26 10:18:19 +00:00
2021-03-24 10:51:25 +03:00
2021-07-02 09:21:05 +01:00
2019-01-04 02:48:43 +00: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
2020-03-03 00:20:08 +00:00
2021-04-18 19:46:19 -07:00
2021-04-21 10:56:29 +01:00
2020-06-25 16:46:27 +00:00
2020-06-13 08:37:24 +00:00
2021-02-10 16:41:35 +00:00
2020-12-11 08:04:54 +00:00
2020-12-11 19:27:21 +00:00
2020-08-26 19:28:30 +00:00
2020-04-08 18:43:00 +00:00
2021-07-06 10:51:16 +01:00
2020-12-29 21:48:12 +01:00
2020-12-29 21:35:24 +01:00
2021-04-08 21:16:54 +02:00
2020-10-27 11:29:11 +00:00
2021-01-09 18:22:08 +01:00
2020-09-10 15:37:29 +00:00
2019-05-08 08:43:15 +00:00
2020-02-03 20:46:31 +00:00
2020-09-21 19:03:17 +00:00
2021-06-21 21:04:58 -04:00
2019-08-13 23:32:56 +00:00
2018-08-08 19:24:20 +00:00
2020-12-10 21:06:06 +00:00
2019-12-14 10:53:52 +00:00
2020-03-29 04:18:27 +00:00
2021-02-25 14:25:11 +01:00
2021-07-02 08:42:34 +02:00
2019-02-08 14:31:44 +00:00
2021-06-19 17:49:50 +02:00
2020-06-18 08:26:26 +00:00
2019-12-11 17:37:53 +00:00
2018-11-09 13:47:06 +00:00
2018-09-11 20:32:57 +00:00
2021-01-29 23:52:13 -06:00
2019-09-05 14:13:08 +00:00
2021-05-31 16:12:44 -06:00
2021-05-02 09:27:32 -07:00
2018-11-20 00:06:53 +00:00
2020-10-01 01:10:51 +00:00
2019-03-11 22:23:56 +00:00
2020-01-12 20:25:11 +00:00
2020-07-01 16:33:32 +00:00
2021-07-02 08:50:36 +01:00
2021-02-14 03:24:58 +02:00
2020-10-01 01:10:51 +00:00
2019-09-21 00:17:40 +00:00
2020-02-15 19:13:37 +00:00
2020-10-28 13:46:11 +00:00
2020-10-31 15:27:45 +00:00
2020-10-27 12:32:17 +00:00
2020-06-27 11:19:18 +00:00
2019-10-15 16:05:17 +00:00
2018-07-03 19:09:46 +00:00
2020-04-04 12:07:36 +00:00
2018-06-25 11:44:56 +00:00
2018-11-04 19:24:49 +00:00
2021-01-05 16:32:27 +01:00
2021-04-08 21:07:31 +02:00
2020-06-20 11:24:29 +00:00
2019-01-31 23:21:18 +00:00
2019-12-12 05:11:53 +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
2021-02-01 16:21:14 -08:00
2019-01-18 21:30:06 +00:00
2020-12-29 14:21:50 -08: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-05-20 09:27:10 +01:00
2021-06-08 18:30:59 +01:00
2021-06-29 17:51:18 -06:00
2020-07-27 15:25:04 +00:00
2021-06-16 16:35:55 +01:00
2020-08-30 17:37:56 +00:00
2020-10-07 14:43:16 +00:00
2020-12-19 12:55:27 +00:00
2019-11-20 19:43:34 +00:00
2020-06-07 13:21:47 +00:00
2020-03-17 10:02:59 +00:00
2021-01-02 10:50:08 +09:00
2020-10-28 08:29:31 +00:00
2019-08-17 08:29:22 +00:00
2020-09-11 13:28:37 +00:00
2018-11-12 07:14:34 +00:00
2020-04-07 02:46:22 +00:00
2021-05-21 22:51:21 +02:00
2021-06-21 08:40:54 -06:00
2020-08-02 16:41:36 +00:00
2020-08-24 17:57:08 +00:00
2020-04-11 08:16:35 +00:00
2019-09-05 14:13:08 +00:00
2020-02-19 14:40:53 +00:00
2020-09-24 16:42:17 +00:00
2020-08-30 17:40:59 +00:00
2020-07-09 17:27:14 +00:00
2019-01-23 20:02:17 +00:00
2020-12-12 15:38:32 +00:00
2020-10-14 12:28:41 +00:00
2019-12-16 22:05:03 +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
2021-07-02 10:17:03 +01:00
2020-09-18 17:17:46 +00:00