Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 11-17-2006, 12:38 AM   #1
Senior Member
Registered: Jun 2006
Location: Debian Land
Posts: 1,915

Rep: Reputation: 157Reputation: 157
[Comp] How to create a file from the differences between file1 and file2

My file file1 has been changed by a process
I back it up in file2

[Comp] How to create a file from the differences between file1 and file2?

(thats asccii data )
I know sthg like comp exist but anti-comp :-) ?

thank you !
Old 11-17-2006, 01:40 AM   #2
Registered: May 2004
Location: Karlsruhe, Germany
Distribution: debian, gentoo, os x (darwin), ubuntu
Posts: 940

Rep: Reputation: 33
have a look at diff :-)
Old 11-19-2006, 01:20 PM   #3
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,569

Rep: Reputation: 171Reputation: 171
Moved: This thread is more suitable in Linux-Software and has been moved accordingly to help your thread/question get the exposure it deserves.

diff, definitelly. It works with whole lines, however.


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
awk/gawk/sed - read lines from file1, comment out or delete matching lines in file2 rascal84 Linux - General 1 05-24-2006 09:19 AM
Finding lines in file1,but not in file 2 subu_s Programming 2 12-14-2004 09:56 AM
Avoid cat file1>>file2 automatic add return after file2. AshesOfTime Programming 5 11-25-2004 07:27 AM
File System Differences? pallbearer Linux - Newbie 2 03-12-2004 05:13 AM
save a file on other comp cristi1979 Linux - Networking 2 06-30-2003 07:11 AM

All times are GMT -5. The time now is 10:51 PM.

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