www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2000/10/25/23:53:02

From: "Mark E." <snowball3 AT bigfoot DOT com>
To: "Peter J. Farley III" <pjfarley AT banet DOT net>, djgpp-workers AT delorie DOT com
Date: Wed, 25 Oct 2000 23:52:35 -0400
MIME-Version: 1.0
Subject: Re: Bash 2.04 beta 6a
Message-ID: <39F77243.19193.27836A@localhost>
In-reply-to: <4.3.1.0.20001025221409.00ad89b0@pop5.banet.net>
References: <39F4D6CB DOT 20960 DOT 364B6C AT localhost>
X-mailer: Pegasus Mail for Win32 (v3.12c)
Reply-To: djgpp-workers AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp-workers AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

> I begin to suspect there may be a lexing error here, where bash thinks 
> the "#" is a comment character.  Could that be the problem?

I think so. The Bash manual says this about comments:

   In a non-interactive shell, or an interactive shell in which the
`interactive_comments' option to the `shopt' builtin is enabled (*note
Bash Builtins::.), a word beginning with `#' causes that word and all
remaining characters on that line to be ignored.  An interactive shell
without the `interactive_comments' option enabled does not allow
comments.  The `interactive_comments' option is on by default in
interactive shells.  *Note Is This Shell Interactive?::, for a
description of what makes a shell interactive.


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019