in reply to Re: How to manage a big file
in thread How to manage a pattern matching & counting with big data file
Now each line is a potential pattern & we need to make four more pattern by adding next two & previous two lines, for example :-
Pattern (1):- I_SDRAM_TOP/I_SDRAM_IF/sdram_clk_G1B1I16 ( COnsider this as a seed pattern)
Pattern (2):- I_SDRAM_TOP/I_SDRAM_IF/sdram_clk I_SDRAM_TOP/I_SDRAM_IF/bufbdf_G1B1I16 I_SDRAM_TOP/I_SDRAM_IF/sdram_clk_G1B1I16 ( Seed +2)
Pattern (3):- I_SDRAM_TOP/I_SDRAM_IF/bufbdf_G1B1I16 I_SDRAM_TOP/I_SDRAM_IF/sdram_clk_G1B1I16 (seed +1)
Pattern (4):- I_SDRAM_TOP/I_SDRAM_IF/sdram_clk_G1B1I16 I_SDRAM_TOP/I_SDRAM_IF/sd_mux_dq_out_6 (seed -1)
Pattern (5):- I_SDRAM_TOP/I_SDRAM_IF/sdram_clk_G1B1I16 I_SDRAM_TOP/I_SDRAM_IF/sd_mux_dq_out_6 I_SDRAM_TOP/I_SDRAM_IF/sd_DQ_out6 (seed -2)
Now these five patterns needs to scan in the master file & print each pattern wise occurrence count.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: How to manage a big file
by Lennotoecom (Pilgrim) on Apr 23, 2014 at 09:51 UTC | |
by Anonymous Monk on Apr 23, 2014 at 10:04 UTC |