[Top][All Lists]
[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: |
Felix Zielcke |
Subject: |
Re: 2273 lines in 170 files consists of only space and tabulators |
Date: |
Sat, 06 Jun 2009 15:43:08 +0200 |
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.
>
> Felix Zielcke