Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > gnu.bash.bug > #15266

Re: x[

From Chet Ramey <chet.ramey@case.edu>
Newsgroups gnu.bash.bug
Subject Re: x[
Date 2019-07-29 14:30 -0400
Message-ID <mailman.181.1564425022.1985.bug-bash@gnu.org> (permalink)
References <CAAZkfoK2hYq_qSkdKYc1on=+V4VEBgpgZW96sYNZwC+AMw7iTw@mail.gmail.com> <b7a6c63c-25e3-a59e-abee-73c9c8c27417@case.edu>

Show all headers | View raw


On 7/29/19 12:55 PM, Isabella Bosia wrote:
> haven't really looked into why this happens but x[ seems to trigger some
> funny parser behavior
> 
> x[ newline     should not prompt with PS2

Yes, it should. It's the start of an array assignment, and an assignment
statement is a valid part of a simple command.

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
		 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    chet@case.edu    http://tiswww.cwru.edu/~chet/

Back to gnu.bash.bug | Previous | Next | Find similar | Unroll thread


Thread

Re: x[ Chet Ramey <chet.ramey@case.edu> - 2019-07-29 14:30 -0400

csiph-web