grub-devel
[Top][All Lists]
Advanced

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

Re: 2273 lines in 170 files consists of only space and tabulators


From: Vladimir 'phcoder' Serbinenko
Subject: Re: 2273 lines in 170 files consists of only space and tabulators
Date: Sun, 7 Jun 2009 03:48:05 +0200

Hello

On Sat, Jun 6, 2009 at 3:43 PM, Felix Zielcke<address@hidden> wrote:
> Am Samstag, den 06.06.2009, 12:25 +0200 schrieb Felix Zielcke:
>> address@hidden:~/grub/grub2.git$ rgrep -E "^[[:blank:]]+$" *|wc -l
>> 2273
>> address@hidden:~/grub/grub2.git$ rgrep -E "^[[:blank:]]+$" *|sed -e 
>> 's/:.*//'|uniq|wc -l
>> 170
>
> Seems like the regexp isn't clear for everyone, at least Vladimir.
> This matches only lines with have at least one space or one tab, not
> totally empty lines.
> And the sed would only change them to true empty lines, not remove them 
> completely.
>
As was discussed on IRC and confirmed by looking at GCS it doesn't
specify explicitely whether empty lines whould contain spaces. We can
use either way as long as we use it consistently. I haven't yet found
how to install ident on gentoo. If ident removes these spaces too I
think we should remove them too as it's easier to maintain if style is
the same as from ident
>>
>> Felix Zielcke
>
>
>
> _______________________________________________
> Grub-devel mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/grub-devel
>



-- 
Regards
Vladimir 'phcoder' Serbinenko




reply via email to

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