PDA

View Full Version : Differential of 2 files



rec9140
07-28-2003, 03:12 PM
I have 2 text files and what I am after is to:

1) Create a text file of the DIFFERENCES between those 2 files
2) Display the differences on the console as it processes

GREP? with piping? ie:

$ diff text1 text2 | diffout | tty1

This above is an example I don't think diff exists, I am just thinking out loud bad idea I know, as to where to go accomplish this.

Thanks.

Stephen
07-28-2003, 07:05 PM
I don't think diff exists

Thanks.

It does on my machine try man diff from a console.

rec9140
07-29-2003, 06:54 AM
I don't think diff exists

Thanks.

It does on my machine try man diff from a console.

I am obvisouly trying to make this harder than it is, even with a 600 page command reference book.

Thanks.