\_ learned something. It was late and I just started dd'ing into home.
\_ By the time I caught it, too late.
dd is nice, but you have to very specific about what you type when.
You botch an argument and it's all over.
dd if=bootdisk.raw of=/dev/hda
um, ooops.
The only thing that saved me at the time from that evilness was the
fact that I was on a SCSI system and the main disks start with an
's'. I could have sworn the brain issued "... of=/dev/fd0" but
apparently not.
When used, dd is almost as cool as editing the netscape binary and
changing the inlined images to something more amusing.
David
From Don Harrop <
don@nis4u.com> Wed Nov 29 21:07:30 2000
From: Don Harrop <
don@nis4u.com> (Don Harrop)
Date: Wed, 29 Nov 2000 14:07:30 -0700 (MST)
Subject: filtering with sed
Message-ID: <
Pine.LNX.4.21.0011291401430.15070-100000@tech1.nis4u.com>
I've got an output file where each line ends with a ^M. I'm trying to get
sed to filter out the ^M but cat doesn't print it. I need to encorporate
the solution into a script file so search and replace with a text editor
wont do the trick either.. Any ideas?
Don