The UNIX and Linux Forums
>
Top Forums
>
Shell Programming and Scripting
Compare two files and remove all the contents of one file from another
.
User Name
Remember Me?
Password
google unix.com
Forums
Register
Forum Rules
Links
Albums
FAQ
Members List
Calendar
Search
Today's Posts
Mark Forums Read
Thread
:
Compare two files and remove all the contents of one file from another
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
#
3
(
permalink
)
11-17-2008
Christoph Spohr
Registered User
Join Date: Sep 2008
Posts: 205
Hi,
to print the different lines of two files try:
Code:
comm -3 file1 file2
and for further informations
Code:
man comm
Kind regards
Chris
Christoph Spohr
View Public Profile
Find all posts by Christoph Spohr
Find Christoph Spohr's past nominations received
Find Christoph Spohr's present nominations given