The UNIX and Linux Forums
>
Top Forums
>
Shell Programming and Scripting
file comparision by line
.
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
:
file comparision by line
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
#
7
(
permalink
)
11-21-2008
cdfd123
Registered User
Join Date: Jul 2007
Posts: 112
awk command to comapre two files
if u have two files
first file and second file
awk command will be
awk 'BEGIN {while (getline <"first file") {arr[$0]++}}
{ if (!($0 in arr) {print }}' second file
cdfd123
View Public Profile
Find all posts by cdfd123
Find cdfd123's past nominations received
Find cdfd123's present nominations given