I'm writing a bash script and I want to find how many times a specific string appears in every line of a file.
The string I'm looking for is <grow
The string might be a substring of another string such as:
old#<grown or young><growup
Is there a way to achieve that?