bug-coreutils
[Top][All Lists]
Advanced

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

Re: An error


From: Micah Cowan
Subject: Re: An error
Date: Thu, 14 Jun 2007 11:52:33 -0700
User-agent: Thunderbird 1.5.0.12 (X11/20070604)

Johannes Findeisen wrote:
> 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?

A quick an' easy way to check would be to view the output of:

  sed -n l <anyFileName>

which will show the end of each line with a "$". If the "$" is not flush
to the left of the terminal, you have blanks in that line.

-- 
Micah J. Cowan
Programmer, musician, typesetting enthusiast, gamer...
http://micah.cowan.name/





reply via email to

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