bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: An error


From: Johannes Findeisen
Subject: Re: An error
Date: Thu, 14 Jun 2007 13:15:14 +0200

Hi,

On Wed, 2007-06-13 at 16:47 -0400, Dhruv Rangoonwala wrote:
> Hi,
> 
> I have tried to use the following command:
> 
> cat -b <anyFileName>
> 
> If the file have blank lines, this command does not eliminate it. It still
> gives number to that blank line. Please check it.
> 

Which version of core-utils are you using? I can't reproduce it here.
Could it be that there are whitespaces in the "blank" lines?

Example:

address@hidden:~> cat -b fooo      






     1    

     2  dfsdfs



address@hidden:~> 

The line numbered with "1" looks blank but has one whitespace at the
beginning so it's not blank...

Regards,
Johannes





reply via email to

[Prev in Thread] Current Thread [Next in Thread]