LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   differences between files (https://www.linuxquestions.org/questions/linux-general-1/differences-between-files-255044/)

alaios 11-15-2004 07:17 AM

differences between files
 
Hi i have two files... The two files are similar except from the last column. How i can view the differences in two columns?
Thx

trickykid 11-15-2004 07:26 AM

Use the diff command.

LasseW 11-15-2004 09:34 AM

Try this:
awk '{print $NF}' file1 >diff1
awk '{print $NF}' file2 >diff2
paste diff1 diff2


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