I am trying to make a bash script that greps value and output the count and the value togetherSomething like thisgrep -c 'Thenis' example.txt > example.lstBut in that list file not only to show the count but also the value I have entered like thisThenis: 123
Take grep value and output the count and the value together
shell script;grep