Using grep result in Makefile

Status
Not open for further replies.

kjm

Junior Member level 1
Joined
May 22, 2012
Messages
16
Helped
5
Reputation
10
Reaction score
5
Trophy points
1,283
Location
India
Activity points
1,389
Hi,
I am giving a test name from terminal which I am reading in Makefile. I want to grep the test name for say (ab, or cd, or ef) & I want to use this grep result in If-Else to assign value to another variable.

How can I do it?

Thanks in advance.
 

grep | ab | grep cd | grep ef | grep gh

result of grep

ab
cd
ef
gh
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…