Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Virtualization and Cloud
User Name
Linux - Virtualization and Cloud This forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.


  Search this Thread
Old 11-21-2010, 09:21 AM   #1
LQ Newbie
Registered: Sep 2010
Posts: 18

Rep: Reputation: 0
Wink Diff Command is possible for me?

Hi Friends,

I noticed the posting in URL : files-diff.html .Is there a way to use the diff command between an older and a newer version of a file and only display the lines that have been added to the newer file and not the ones that have been removed without any of the explanation formatting, just the new lines. I'm trying to bypass the process of putting both files into a database and running an SQL "left join where old data is null" as I will need to do this on a regular basis.

Please let me know if my inquiry is not clear or needs further explanation.

Thank you in advance for any help you can provide.

Anes P.A
Old 11-21-2010, 09:42 AM   #2
LQ Guru
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288
Why did you post this in the visualization forum ? I say you report this and have it moved to Linux General, because it will get more exposure. Does it have something to do with virualization ?

Anyway, I would use 'comm' for this, see 'man comm', you'll probably use 'comm -13' or '-23'.


command, diff

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 On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
diff command advice john83reuben Linux - Newbie 2 12-06-2009 08:50 AM
What is wrong with this diff command? jb_get Linux - Newbie 2 10-01-2008 08:27 AM
Question on diff command just.srad Programming 4 04-05-2008 04:01 AM
How to use 'diff' command ursusman Linux - Newbie 1 03-08-2007 04:29 AM
help on diff command anandss2004 Programming 2 11-01-2005 12:58 PM > Forums > Linux Forums > Linux - Virtualization and Cloud

All times are GMT -5. The time now is 12:56 AM.

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