|
Thanks for your reply ajcannon.Yes it seems to simple but I m screwed.
Input files (.files)
abc.file
`define ADCONV0 TB_DIGRFAFE.digrf0.udigrf_top.uad0_wrap
`define APLL TB_DIGRFAFE.digrf0.udigrf_top.uapl_wrap
`define DPLL TB_DIGRFAFE.digrf0.udigrf_top.udpl_wrap
bcd.file
`define APLL TB_DIGRFAFE.digrf0.udigrf_top.uapl_wrap
`define DPLL TB_DIGRFAFE.digrf0.udigrf_top.udpl_wrap
`define DACONV0 TB_DIGRFAFE.digrf0.udigrf_top.uda0_wrap
`define TOP TB_DIGRFAFE.digrf0
`define SCI TB_DIGRFAFE.digrf0.udigrf_top.usci_wrap
x.file
`define DPLL TB_DIGRFAFE.digrf0.udigrf_top.udpl_wrap
`define DACONV0 cat.grep.cut
OBJECTIVE
Path of FILE ./abc.file
same
same
same
Path of FILE ./bcd.file
same
same
same
`define TOP TB_DIGRFAFE.digrf0
`define SCI TB_DIGRFAFE.digrf0.udigrf_top.usci_wrap
Path of FILE ./x.file
`define DACONV0 cat.grep.cut
The output of abc.file is of three lines written as "same" as all the 3 lines matched which are defined in my lookup table/hash table in my shell script.
The last 2 statements in the output of ./bcd.file because they are not defined inside my look up table in my shell script.
and same for ./x.file . The first line matches but the second line does not match so it prints the whole line.
Last edited by user_prady; 09-03-2007 at 09:21 PM..
|