I am trying to grep for a small string in a much larger string. Both strings are being stored as variables and here is a code example:
#!/bin/bash long_str=$(m
You want
if echo $long_str | grep -q $shrt_str; then