Support LQ: Use code LQ3 and save $3 on Domain Registration
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, 01:38 AM   #1
Senior Member
Registered: Jun 2006
Location: Debian Land
Posts: 1,593

Rep: Reputation: 105Reputation: 105
[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, 02:40 AM   #2
Registered: May 2004
Location: Karlsruhe, Germany
Distribution: debian, gentoo, os x (darwin), ubuntu
Posts: 940

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

Rep: Reputation: 160Reputation: 160
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 10:19 AM
Finding lines in file1,but not in file 2 subu_s Programming 2 12-14-2004 10:56 AM
Avoid cat file1>>file2 automatic add return after file2. AshesOfTime Programming 5 11-25-2004 08:27 AM
File System Differences? pallbearer Linux - Newbie 2 03-12-2004 06:13 AM
save a file on other comp cristi1979 Linux - Networking 2 06-30-2003 08:11 AM

All times are GMT -5. The time now is 04:32 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