Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1MD7Uc-0006XR-Rt for mharc-grub-devel@gnu.org; Sat, 06 Jun 2009 21:48:14 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MD7Ua-0006Ur-Ah for grub-devel@gnu.org; Sat, 06 Jun 2009 21:48:12 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MD7UW-0006Ta-VR for grub-devel@gnu.org; Sat, 06 Jun 2009 21:48:12 -0400 Received: from [199.232.76.173] (port=39934 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MD7UW-0006TX-PJ for grub-devel@gnu.org; Sat, 06 Jun 2009 21:48:08 -0400 Received: from mail-bw0-f212.google.com ([209.85.218.212]:46720) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MD7UW-0008EY-4c for grub-devel@gnu.org; Sat, 06 Jun 2009 21:48:08 -0400 Received: by bwz8 with SMTP id 8so472825bwz.42 for ; Sat, 06 Jun 2009 18:48:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=ZP39GJG1dhAnR/Gwp5m9G2CvG3CawMETiOrxgcEz0yM=; b=SVHgP3BbljdSbNDZskSsUDm+nEemIKnqXf+2yMdolyMn+XGwMXCxjBlVP9ANPi4JaS XbEui6pNJyQNDJPSrh1ui6p4SLiI7lXRy9EnyHRg6Tp9mwXmAPg0F9XrA9BwJ+1tJaWt tzIMdjD3laZxTly9xI8zxv4yzTEbLhq+KUFMY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=N83SVeYy3ry2nDivT0Xfb7osnOlzqpFBSfLnmAGTVJ9CYTJBZwGmxOxwxI4KmtOsiY CXgpVJ7XYNYpNFVWZKKtNsnulY6bUuOnwr2x7Pxa5yw/N+IuHEqYgGWKG4ncrcg93qTO qEbywKyo0XfCYq99mvRjfQLIGTjV8HHpFXQZo= MIME-Version: 1.0 Received: by 10.204.69.66 with SMTP id y2mr4958341bki.49.1244339285813; Sat, 06 Jun 2009 18:48:05 -0700 (PDT) In-Reply-To: <1244295788.3418.9.camel@fz.local> References: <1244283931.3418.7.camel@fz.local> <1244295788.3418.9.camel@fz.local> Date: Sun, 7 Jun 2009 03:48:05 +0200 Message-ID: From: "Vladimir 'phcoder' Serbinenko" To: The development of GRUB 2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Subject: Re: 2273 lines in 170 files consists of only space and tabulators X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Jun 2009 01:48:12 -0000 Hello On Sat, Jun 6, 2009 at 3:43 PM, Felix Zielcke wrote: > Am Samstag, den 06.06.2009, 12:25 +0200 schrieb Felix Zielcke: >> fz@fz:~/grub/grub2.git$ rgrep -E "^[[:blank:]]+$" *|wc -l >> 2273 >> fz@fz:~/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 > Grub-devel@gnu.org > http://lists.gnu.org/mailman/listinfo/grub-devel > -- Regards Vladimir 'phcoder' Serbinenko