Learn how to use grep to match strings or patterns inside of a variable. We will demonstrate several ways to grep strings from variables.

Source: Grep String from a Variable in Bash Using IFS and Echo – Putorius

Was this post helpful?