LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices

Reply
 
Search this Thread
Old 03-18-2010, 07:15 AM   #16
regard001
LQ Newbie
 
Registered: Mar 2010
Location: Szeged
Posts: 2

Rep: Reputation: 0

Hi guys!

Sry, I can't help you out, but I have a similar problem, except that I have to compare lines not words, without the cmp or diff command.
I've tried that script and it is helpful for me too, but I dont know how to difference lines.

My original problem is that I have to make a script, what compares two files by lines without command cmp or diff,and if a line isn't match, the script write it out,and if there are more lines in the first file than in the second, or reverse, it has to write them out too.

I hope that I don't disturbed this thread... just don't wanted to create another.

With regards
regard001
 
Old 03-19-2010, 03:48 AM   #17
regard001
LQ Newbie
 
Registered: Mar 2010
Location: Szeged
Posts: 2

Rep: Reputation: 0
Thx guys, I've already solved it :P, just wanted to do it complicated , but I finally realized that I can do it on easy way. But I learned a lot from this search.

With regards
regard001
 
  


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
URGENT----shell script to change word in file raghupal Programming 14 10-21-2008 12:49 AM
shell script to find an word or words from a line rakesh.tandur Linux - General 5 05-13-2008 01:57 PM
I need a word processor that can read .SDW files newbiesforever Linux - General 3 02-17-2008 04:27 AM
shell script: find subwords with 'compilation' word suresheva31 Programming 11 10-05-2005 04:17 AM
How to read ans parse MS word file using a Linux Shell script. Alek Linux - General 2 11-10-2003 02:07 PM


All times are GMT -5. The time now is 11:42 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration