i have a file a.txt which contains
add yinst setting yti. YTI_
I have variable STR which is dynamically assigned the value
I need to grep $STR on the file a.txt as `grep "$STR" a.txt `
But because of the spaces before =, the line is not getting printed. But my program definetely needs it to be printed ignoring the spaces. Is there any way to achieve it..?
Please reply any one.