Search Results

Search: Posts Made By: thefang
9,200
Posted By thefang
Wow, three very nice approaches using three...
Wow, three very nice approaches using three powerful tools (awk integrates best into the existing analysis scripts but the python and perl solutions look very promising too) - I will now test them on...
9,200
Posted By thefang
Thanks Klashxx, your python script works! ...
Thanks Klashxx,

your python script works!
I changed the pattern to...
>>> pattern = re.compile(r'''
... ^[^\n]+@CAL\sRtlInitAnsiString\s@PA1\s0x0012f740[^\n]+\n
......
9,200
Posted By thefang
Thank you all for your replies! In response...
Thank you all for your replies!

In response to Don's questions: This input file...
@LIB ADVAPI32.dll @CAL RtlInitAnsiString @PA1 0x0012f740 @PA2 "CriticalSectionTimeout" @RET0
@LIB ADVAPI32.dll...
9,200
Posted By thefang
Replacing lines matching a multi-line pattern (sed/perl/awk)
Dear Unix Forums,

I am hoping you can help me with a pattern matching problem.

What am I trying to do?
I want to replace multiple lines of a text file (that match a multi-line pattern) with a...
Showing results 1 to 4 of 4

 
All times are GMT -4. The time now is 04:58 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy