From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Mnk39-00061m-Gw for garchives@archives.gentoo.org; Wed, 16 Sep 2009 02:15:15 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8CD8CE0852; Wed, 16 Sep 2009 02:15:14 +0000 (UTC) Received: from mail-yx0-f197.google.com (mail-yx0-f197.google.com [209.85.210.197]) by pigeon.gentoo.org (Postfix) with ESMTP id 72CF4E0852 for ; Wed, 16 Sep 2009 02:15:14 +0000 (UTC) Received: by yxe35 with SMTP id 35so15641675yxe.2 for ; Tue, 15 Sep 2009 19:15:14 -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 :from:date:message-id:subject:to:content-type; bh=SILC+pxGM4nfxlS6ZtcLCMPF0EezOMZ62N58KtSPKTc=; b=UNgiibzylSoMitnkin8Vj9LQobvSTOBYv5q+Il6WCk/msQCL2XOON7PzKq8QwVZZb9 5XPSkabKOZAr+lq+3AAFSEhyCGKaVey3K5XMA37cQJOXBBwBuFR24b3vclwLtBjojqrS yJMIVXKvu5+RG3yKqbIcXmlaFyWkR1hvWleKQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; b=mPuYdEj4lId23aBD0TdDZgWoZayVXX1xi/xVF9NrQU01+58lL64KgHjVfgzNHmrdQJ 2KJmCR4nnV6sf1N7u+mudUfbGjTkKdYcZuLzRp/d1fWUZUaUhYJo54T5Hv905F2dtPEF yWQr670Bu2SWKPbRaCwwLPd5rkFP3l05FO3qs= Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Received: by 10.101.196.13 with SMTP id y13mr8403128anp.148.1253067314190; Tue, 15 Sep 2009 19:15:14 -0700 (PDT) In-Reply-To: <20090915214920.6c88693a@zaphod.digimed.co.uk> References: <92ad22480909151255t54700471k308f611a5298d193@mail.gmail.com> <4AAFF51B.3090905@ep.mine.nu> <92ad22480909151317g9c91051j3f95b4a4016181d3@mail.gmail.com> <20090915214920.6c88693a@zaphod.digimed.co.uk> From: =?UTF-8?Q?Cr=C3=ADstian_Viana?= Date: Tue, 15 Sep 2009 23:14:59 -0300 Message-ID: <92ad22480909151914h47ade5e2kf6cda49425b150bd@mail.gmail.com> Subject: Re: [gentoo-user] comments on portage.keywords To: gentoo-user@lists.gentoo.org Content-Type: multipart/alternative; boundary=0016e68ee0b52458ba0473a8781d X-Archives-Salt: 85a1794a-9de5-4b92-8756-75fff97cd890 X-Archives-Hash: 4ebb008c30d158c7632fbdab5c18d960 --0016e68ee0b52458ba0473a8781d Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable but in that case the "#" character is inside a string, so it wuldn't be considered a comment. I was thinking like "//" in Java: it can be anywhere in the line, but if it's inside a string it's not considered a comment marker. but thanks again for the information :) On Tue, Sep 15, 2009 at 5:49 PM, Neil Bothwick wrote: > On Tue, 15 Sep 2009 17:17:51 -0300, Cr=C3=ADstian Viana wrote: > > > thank you, I didn't know about that. I thought comments were always > > stripped off the contents of the config files, no matter where they > > were. > > Title=3D"### Look at me! ###" > > Is there a comment in there? The general convention is that if the first > non-whitespace character is a #, the line is a comment. > > > -- > Neil Bothwick > > With 5 billion people on earth chances are slim it will ever be *your* > day. > --=20 Cr=C3=ADstian Deives dos Santos Viana [aka CD1] --0016e68ee0b52458ba0473a8781d Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable but in that case the "#" character is inside a string, so it wuld= n't be considered a comment. I was thinking like "//" in Java= : it can be anywhere in the line, but if it's inside a string it's = not considered a comment marker.

but thanks again for the information :)

On Tue, Sep 15, 2009 at 5:49 PM, Neil Bothwick <neil@digimed.co.uk> wrote:=
On Tue, 15 Sep 2009 17:17:51 -0300, Cr=C3=ADstian Viana wrote:

> thank you, I didn't know about that. I thought comments were alway= s
> stripped off the contents of the config files, no matter where they > were.

Title=3D"### Look at me! ###"

Is there a comment in there? The general convention is that if the first non-whitespace character is a #, the line is a comment.


--
Neil Bothwick

With 5 billion people on earth chances are slim it will ever be *your*
day.



--
Cr=C3=ADstian De= ives dos Santos Viana [aka CD1]
--0016e68ee0b52458ba0473a8781d--