[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: x[
From: |
Clint Hepner |
Subject: |
Re: x[ |
Date: |
Mon, 29 Jul 2019 13:01:35 -0400 |
> On 2019 Jul 29 , at 12:55 p, Isabella Bosia <izaberina@gmail.com> 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
>
> it can't be defined as a normal sh function, but it can be defined with the
> function keyword
>
> it can't be called like a normal function, but things like "x[" or \x[ work
>
> this bug seems old
The ``[`` begins a valid shell pattern, so the parser continues to accept input
until the closing ``]`` is found. Pathname expansion (apparently) does not
apply to the first "argument" of the ``function`` command.
- x[, Isabella Bosia, 2019/07/29
- Re: x[,
Clint Hepner <=
- Re: x[, Eli Schwartz, 2019/07/29
- Re: x[, Greg Wooledge, 2019/07/29
- Re: x[, Martijn Dekker, 2019/07/29
- Re: x[, Eli Schwartz, 2019/07/29
- Re: x[, Koichi Murase, 2019/07/29
Message not available
- Re: x[, Stephane Chazelas, 2019/07/29
Re: x[, Chet Ramey, 2019/07/29
- Prev by Date:
x[
- Next by Date:
Re: x[
- Previous by thread:
x[
- Next by thread:
Re: x[
- Index(es):