79548144

Date: 2025-04-01 09:02:35
Score: 4.5
Natty:
Report link

Just to be complete

when using grep -o -c, it only counts the single lines that match i.e. it misses the double entries on the same line- You can either do the replace (echo/echo\n) or use the wc or nl to count the returned matches

I have not found any option to -c that counts all matches ? anyone else ?

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: basil duval