Answers for "program to count the number of occurrences of a word in a string in UNIX"

0

program to count the number of occurrences of a word in a string in UNIX

$ grep -o  "pattern" file_name | wc -l
Posted by: Guest on April-02-2021

Code answers related to "program to count the number of occurrences of a word in a string in UNIX"

Browse Popular Code Answers by Language