[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Syntax question
From: |
Paul Jarc |
Subject: |
Re: Syntax question |
Date: |
Sun, 25 Mar 2007 02:17:56 -0400 |
User-agent: |
Gnus/5.110003 (No Gnus v0.3) Emacs/21.4 (gnu/linux) |
"Caleb Cushing" <xenoterracide@gmail.com> wrote:
> the line
> FEATURES="parallel-fetch ccache distlocks"# userfetch userpriv usersandbox
>
> I was told my bug is not a bug because there was no space in between the "#
>
> putting a space does fix the problem but I can't recall that I've ever seen
> any documentation saying that mid line comments need a space before the #
man bash, in the section COMMENTS:
a word beginning with # causes that word and all remaining
characters on that line to be ignored
In your case, the # is not at the beginning of a word, so it doesn't
start a comment. (Quotes don't separate words; a word can be partly
quoted and partly not.)
paul
- Syntax question, Caleb Cushing, 2007/03/25
- Re: Syntax question,
Paul Jarc <=