Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

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

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top