-
https://stackoverflow.com/questions/16679369/count-occurrences-of-a-char-in-a-string-using-bash sep=','line=abc,def,ggrep -o $sep