Subject: bug#33574: grep -c question

From: "Helen Grubner" <[email-masked]>
Date: Sun, 2 Dec 2018 08:07:53 +0100

Dear Team

Can you tell me, why I see this with grep -c on a file with following
content?

$ cat file_13.txt

1

2

3

4

5

6

7

8

9

10

11

12

13

$ grep -c 1 file_13.txt

5

Should it not show 6? When search for value 2, it is correct.

$ grep -c 3 file_13.txt

2

$ file file_13.txt

file_13.txt: ASCII text

Thank you

Alexander Grubner