[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Help needed in - diverting the output of diff command to a text file
From: |
vijayakumar . d |
Subject: |
Help needed in - diverting the output of diff command to a text file |
Date: |
Sat, 13 Mar 2004 14:29:03 +0530 |
Dear Sir,
I am using diff command to find the difference between two files.
I use this (diff RPZ0.esf RPZ1.esf > diff.txt) command to direct the
output to a text file.
When I open the output file in WINDOWS the output looks like this:
1,3c1,3< :EZEE 440 03/12/04 12:09:10
< :record name = RPZ0
< date = '03/12/04' time = '12:09:10'
---> :EZEE 440 03/12/04 12:09:15
> :record name = RPZ1
> date = '03/12/04' time = '12:09:15'
But When I use cat diff.txt, the lines are appearing as follows:
1,3c1,3
< :EZEE 440 03/12/04 12:09:10
< :record name = RPZ0
< date = '03/12/04' time = '12:09:10'
---
> :EZEE 440 03/12/04 12:09:15
> :record name = RPZ1
> date = '03/12/04' time = '12:09:15'
What should I do in the diff command to view the output as it appears in
cat command?
Thanks in advance,
Vijayakumar Dharmaraj
Mailto: address@hidden
InterScan_Disclaimer.txt
Description: Text document
- Help needed in - diverting the output of diff command to a text file,
vijayakumar . d <=