Hi All
I have an entry like this in a file which I want to parse
#comments1
DNFAR1S query tli tcp /dev/tcp \x00020bb8a9f3702f0000000000000000
#comments2
PKG1S query tli tcp /dev/tcp \x000205c8a9f3702f0000000000000000
and put into another file as different variables like
#comments
V1=DNFAR1S
V2=query
v3=tcp
v4=/dev/tcp
v5=0002
v6=3000 // dec of 0bb8
v7=169.43.112.47 // (a9f3702f converted to decimal )
#comments2
V1=
.
.
v6=
How do I match this pattern repeatedly so that I can create another file
like this
Thanks for Reading through
Abhi
**************************************************************************
This email (including any attachments) is intended for the sole use of the
intended recipient/s and may contain material that is CONFIDENTIAL AND
PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or
distribution or forwarding of any or all of the contents in this message is
STRICTLY PROHIBITED. If you are not the intended recipient, please contact
the sender by email and delete all copies; your cooperation in this regard
is appreciated.
**************************************************************************