Bash Check If String Contains Multiple Substrings With K