Hi,
I have a grep command which searches if a particular word ends in a pattern
The above command searches for any word that ends with ee across files and works as expected.
I need to parametrize ee and run the command
so I tried the following but none work
Any ideas, on how I need to execute the grep?
I have a grep command which searches if a particular word ends in a pattern
Code:
grep 'ee\>' *
I need to parametrize ee and run the command
so I tried the following but none work
Code:
A=ee
grep '${A}\>' *
grep '"${A}"\>' *
A="'EE\>'"
grep $A *