Quantcast
Channel: Cadence Custom IC Skill Forum
Viewing all articles
Browse latest Browse all 5066

Search for a string pattern inside a file

$
0
0

Hi,

I would like to open a file in Skill and search for a string pattern inside a file:

Pattern:"Writing initial simulation snapshot"

Is there any good example on file parsing which would help me to execute this task?

Also I know this pattern will be one of the last five lines of the file I am going to read. How do I use pattern matching to only search last few lines of the files?

Any help would be highly appreciated!

Regards,

Sandeep


Viewing all articles
Browse latest Browse all 5066

Trending Articles