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
which also reproduces the comments

Thanks for Reading through
logger


__________________________________________________________
Give your Company an email address like
ravi @ ravi-exports.com.  Sign up for Rediffmail Pro today!
Know more. http://www.rediffmailpro.com/signup/

_______________________________________________
Perl-Unix-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to