LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-19-2011, 05:20 PM   #1
divzplanet
LQ Newbie
 
Registered: Nov 2011
Posts: 1

Rep: Reputation: Disabled
similarty between two text files using perl


hi,
if i have two text files how to find the similarity betweentwo...for eg. FILE1 contains ABCDEFG
and FILE2 contains EFGHIJK USING perl program


please help
tnks
 
Old 11-20-2011, 08:23 AM   #2
David the H.
Bash Guru
 
Registered: Jun 2004
Location: Osaka, Japan
Distribution: Debian + kde 4 / 5
Posts: 6,837

Rep: Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981
I'm not that experienced with perl, but I know that there are all kinds of pre-made modules out there covering almost anything you'd want to do. Try the cpan site.

Here, I went ahead and did one search for you.

http://search.cpan.org/search?query=...mpare&mode=all
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I Find and Replace text within files using Perl (no one-liners please) GuerillaSquad Programming 3 12-31-2009 10:01 AM
Modifying text files with perl Tleilax Programming 8 02-17-2009 02:54 PM
Modify a text files with awk/sed/perl climber75 Programming 15 08-05-2008 04:35 PM
How do I replace text with perl with a list fo files? nadavvin Programming 7 09-14-2006 08:12 PM
Perl Regex Help -- Readin In Text Files smaida Programming 1 04-05-2004 12:27 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:18 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration