How do you use variables in egrep?
How do you use variables in egrep? Read a file and create egrep variable For example: string=`cat query. txt` cat myfile. txt | egrep “$string” The string variable file has a list of one or multiple lines So the end result of: cat myfile. txt | egrep “$string” would be: cat myfile. How does egrep […]