Go4Expert

Go4Expert (http://www.go4expert.com/)
-   Perl (http://www.go4expert.com/forums/perl/)
-   -   Validate text in a file. (http://www.go4expert.com/forums/validate-text-file-t5819/)

Tsvikash 12Aug2007 18:40

Validate text in a file.
 
:confused: Hi Guys,

I have no idea how to writing Perl but I know the Perl can be very helpful.
I need help with some script.
I have Linux machine (RedHat).
Sometimes I use WireShark on that machine to sniff traffic.
I would like to take the Wireshark file and export it to my PC (or locally) to a text file.
Now, using Perl script I would like to validate parameters or text in the text file.
I will very appreciate the help, and hope I not impolite.
Have a nice day to all.

Tsvika

pradeep 13Aug2007 11:21

Re: Validate text in a file.
 
You can't just learn Perl like that! You'll have to start from scratch! Btw, what does that text file contain?

Tsvikash 13Aug2007 16:11

Re: Validate text in a file.
 
Hi,

Thank you for your respond.
I start learning Perl but I'm not good enough.
The text file I talking about is just a text file with parameters.
I mean, I use the software Ethereal to capture SIP protocol, and then I convert the Ethereal file to a text file.
And then I would like to check if some words or numbers appear in it. And the script will tell me if itís true or false.
Thanks again,

Tsvika


All times are GMT +5.5. The time now is 11:54.