Re: Editing a text file with sed

2007-08-29 Thread Adam W
Single quotes go around the whole sed script unless you are using a separate sed script file. try sed 's/\n//' 1.txt > 2.txt - Adam On 8/29/07, Florian Kulzer <[EMAIL PROTECTED]> wrote: > On Wed, Aug 29, 2007 at 15:17:46 +0200, Joe Hart wrote: > > > > I am having trouble using sed to edit t

make or preprocessor error - ddrescue-1.5

2007-08-29 Thread Adam W
For the recovery I am trying to do the direct disc accrss ability of ddrescue-1.[4|5] is recomended. I have the same problems when I try 1.4. The stable / testing / unstabe only have ddrescue-1.2x. So, I got ddrescue-1.5 from GNU. Thanks. I extract the archive and cd to the directory. $ ./config

Encrypted Swap -- Loop Devices

2007-05-11 Thread Adam W
I am having difficulty getting encrypted swap to enable on boot. Can anyone offer any suggestions? # /dev/hda2 noneswapsw,loop=/dev/loop0,encryption=AES256 0 0 After boot /dev/loop exists but /dev/loop0 to /dev/loop7 do not exist. # ls /dev/loo* 0 # sw