nl putting in extra returns on only on some boxes

2003-11-02 Thread Joel Hammer
I am running this command:
nl -bp___ -s   -w   3
against some files to number them.
The files look like this:

SITE
___ Foot
___ Leg
SIZE
___ Less than 5 mm
___ More than 5 mm

etc.

The output looks like this on my older linux box:

SITE
1 ___ Foot
2 ___ Leg
SIZE
3 ___ Less than 5 mm
4 ___ More than 5 mm

This is what I want.
However, on my newer, lindows box, nl or somebody is throwing in a line feed
when it doesn't number the line, like so:

SITE
1 ___ Foot
2 ___ Leg

SIZE
3 ___ Less than 5 mm
4 ___ More than 5 mm

The extra line consists of seven blanks and a nl.

The documenation says that if a line is not numbered, the line separator
string is still prepended, but that should be the -s option, which it is
not.

I can eliminate this with a simple sed fix, but, it would be nice to
stop it at the source.

Any insight appreciated,

Joel

___
Linux-users mailing list
[EMAIL PROTECTED]
Unsubscribe/Suspend/Etc - http://smtp.linux-sxs.org/mailman/listinfo/linux-users


backup windows partition (fat)

2003-11-02 Thread Collins Richey
Is there an easy way to backup a windows partition then restore it later without
gimping anything that windows requires?

I have a small hda (hda1 is a win98 partition, the rest is a swap and a linux
partition).  My active linux systems are on hdb.

I want to retain the win98 stuff (rest of hda is not needed) then replace hda
with a much larger disk, restore the win98 stuff, redo grub, etc.  

Booting without hda is no problem, since I have a grub boot disk.  

I just want to avoid the pain of reinstalling win98 (mucho yucky, worse than
configuring sendmail).

-- 
Collins Richey - Denver Area
if you fill your heart with regrets of yesterday and the 
worries of tomorrow, you have no today to be thankful for.


___
Linux-users mailing list
[EMAIL PROTECTED]
Unsubscribe/Suspend/Etc - http://smtp.linux-sxs.org/mailman/listinfo/linux-users


Re: backup windows partition (fat)

2003-11-02 Thread Brett I. Holcomb
Well, When I worked with Win9x I used to xcopy the system to another disk 
or partition making sure I told it to copy empty subdirectories, and I had 
view hidden files turned on.  I installed the new disk as a second disk, 
did the copy and then I would take the new disk and put it place of the old 
drive and boot.  The dd or tar commands might also work here (dd or tar to 
another device or partition).
Collins Richey wrote:

 Is there an easy way to backup a windows partition then restore it later
 without gimping anything that windows requires?
 
 I have a small hda (hda1 is a win98 partition, the rest is a swap and a
 linux
 partition).  My active linux systems are on hdb.
 
 I want to retain the win98 stuff (rest of hda is not needed) then replace
 hda with a much larger disk, restore the win98 stuff, redo grub, etc.
 
 Booting without hda is no problem, since I have a grub boot disk.
 
 I just want to avoid the pain of reinstalling win98 (mucho yucky, worse
 than configuring sendmail).
 

-- 
Brett I. Holcomb
[EMAIL PROTECTED]
AKA Grunt 
Registered Linux User #188143
Remove R777 to email
___
Linux-users mailing list
[EMAIL PROTECTED]
Unsubscribe/Suspend/Etc - http://smtp.linux-sxs.org/mailman/listinfo/linux-users


Re: backup windows partition (fat)

2003-11-02 Thread Ted Ozolins
Collins Richey wrote:
Is there an easy way to backup a windows partition then restore it later without
gimping anything that windows requires?
I have a small hda (hda1 is a win98 partition, the rest is a swap and a linux
partition).  My active linux systems are on hdb.
I want to retain the win98 stuff (rest of hda is not needed) then replace hda
with a much larger disk, restore the win98 stuff, redo grub, etc.  

Booting without hda is no problem, since I have a grub boot disk.  

I just want to avoid the pain of reinstalling win98 (mucho yucky, worse than
configuring sendmail).
try and get a copy of ghost. Then you can move the wintendo partition 
over to the new drive. Less hassle then any back-up scheme.

On another note, I just put a new system together and starting the 
gentoo install as I type. For some reason I could not get my scsi cdrom 
to boot the live cd. We got arround it and am now waiting for the 
emerge system to complete. I thought that this wasn't so bad on an AMD 
750 Athlon but this 1.8 G Athlon sure seems snappy.

Cheers

--
Ted Ozolins (VE7TVO)
Westbank, B. C.
___
Linux-users mailing list
[EMAIL PROTECTED]
Unsubscribe/Suspend/Etc - http://smtp.linux-sxs.org/mailman/listinfo/linux-users


KDE Lockups

2003-11-02 Thread Shawn Tayler
Hi Guys,

I have an annoying problem that I've run out of ideas on.  I have an
updated Slackware 8.1 install, not Slack 9.1-Current that KDE keeps locking
up on.  Netscape, Opera, ver 6 and 7, Acroread, Gimp, have all locked it up
tught on numerous occasions.  There's nothing in any of the logs in
/var/log.

Is there something else I should check?  Should I consider building KDE
from source?

Shawn
___
Linux-users mailing list
[EMAIL PROTECTED]
Unsubscribe/Suspend/Etc - http://smtp.linux-sxs.org/mailman/listinfo/linux-users