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