|
you could try it. but from what i recall. by default grep will take 2 arguemnts. and if the argument is part of the metacharter set it ie your "$" will make the next charters a variable.
First: try without any quotes. if that does not work try w/ single quotes around each variable.
also makesure you echo your variable befor the grep statement (just for testing) to make sure you are passing information to the variable.
|