I have the following output
$ mycommand
1=aaa
1=eee
12=cccc
15=bbb
And I have a string str
containing:
eee
cccc
and I want to display only lines which contains string exist in the string lines
So my out put will be:
$ mycommand | use_awk_or_sed_or_any_command
1=eee
12=cccc