Mailinglist Archive: opensuse (3232 mails)
| < Previous | Next > |
comparing text files that lack line breaks (SuSE 10.0)
- From: Felix Miata <mrmazda@xxxxxx>
- Date: Sun, 20 Aug 2006 03:20:11 +0000 (UTC)
- Message-id: <44E7D4F0.4080604@xxxxxx>
This is necessitated due to brain dead windoz software and a hard disk
failure. I had saved an original file before working on the copy. The
app refused to work with my copy, claiming a difference in format, even
though I changed only one byte (a 0x34 "4" to a 0x30 "0"), and file file
sizes are identical.
Then the HD grew new bad sectors, and the original simply disappeared,
and no undelete utils I could find could locate it to undelete it.
So now I need to figure out from similar files and the copy what the
format difference(s) is/are, but diff doesn't seem to care for files
that lack line breaks. apropos didn't seem any help. I asked on IRC,
where fold and ediff were suggested.
ediff seemed the better choice, but bash couldn't find it. YaST claimed
that patchutils provides ediff, so I directed YaST to install it. It
claims to have done so, and an rpm query confirms it, but bash still
can't find it, even running as root.
Any suggestions?
--
"Let us not become weary in doing good, for at the proper time
we will reap a harvest if we do not give up." Galatians 6:9 NIV
Team OS/2 ** Reg. Linux User #211409
Felix Miata *** http://mrmazda.no-ip.com/
failure. I had saved an original file before working on the copy. The
app refused to work with my copy, claiming a difference in format, even
though I changed only one byte (a 0x34 "4" to a 0x30 "0"), and file file
sizes are identical.
Then the HD grew new bad sectors, and the original simply disappeared,
and no undelete utils I could find could locate it to undelete it.
So now I need to figure out from similar files and the copy what the
format difference(s) is/are, but diff doesn't seem to care for files
that lack line breaks. apropos didn't seem any help. I asked on IRC,
where fold and ediff were suggested.
ediff seemed the better choice, but bash couldn't find it. YaST claimed
that patchutils provides ediff, so I directed YaST to install it. It
claims to have done so, and an rpm query confirms it, but bash still
can't find it, even running as root.
Any suggestions?
--
"Let us not become weary in doing good, for at the proper time
we will reap a harvest if we do not give up." Galatians 6:9 NIV
Team OS/2 ** Reg. Linux User #211409
Felix Miata *** http://mrmazda.no-ip.com/
| < Previous | Next > |