Re: 3 kinds of yadda

[email protected] (Brandon Allbery) Mon, 10 Sep 2018 15:08:27 -0400
Newsgroups perl.perl6.language
Message-ID <CAKFCL4VvgMqacqU30pD2r8OS+TDDK5nas4x5juTNpUryaMnCwg@mail.gmail.com>
--000000000000af833b057589151f
Content-Type: text/plain; charset="UTF-8"

Bash is treating ! as the history substitution character, and either
erroring out or substituting a previous command line. ^ has related
behavior at the start of a line.

... is specially recognized by the compiler, for example treating a class
stubbed with ... as a forward declaration. I don't know if !!! is similar.

On Mon, Sep 10, 2018 at 3:05 PM Parrot Raiser <[email protected]> wrote:

> There are 3 kinds of yadda, yadda operator:
>
> !!! dies with a message: Stub code executed
>   in block <unit> at yad1 line 2
>
> ... dies with an identical message
>
> ??? produces the message, but continues operating.
>
> The only difference I can find between !!! and ... is that !!!
> produces bizarre behaviour  when run from the command line. (Bash
> appears to be editing the code before P6 sees it.)
>
> What is supposed to be the difference between !!! and ...? (And bonus
> points if you can explain what bash is doing.)
>


-- 
brandon s allbery kf8nh
[email protected]

--000000000000af833b057589151f
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Bash is treating ! as the history substitution character, =
and either erroring out or substituting a previous command line. ^ has rela=
ted behavior at the start of a line.<div><br></div><div>... is specially re=
cognized by the compiler, for example treating a class stubbed with ... as =
a forward declaration. I don&#39;t know if !!! is similar.</div></div><br><=
div class=3D"gmail_quote"><div dir=3D"ltr">On Mon, Sep 10, 2018 at 3:05 PM =
Parrot Raiser &lt;<a href=3D"mailto:[email protected]">[email protected]<=
/a>&gt; wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0=
 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">There are 3 kinds of=
 yadda, yadda operator:<br>
<br>
!!! dies with a message: Stub code executed<br>
=C2=A0 in block &lt;unit&gt; at yad1 line 2<br>
<br>
... dies with an identical message<br>
<br>
??? produces the message, but continues operating.<br>
<br>
The only difference I can find between !!! and ... is that !!!<br>
produces bizarre behaviour=C2=A0 when run from the command line. (Bash<br>
appears to be editing the code before P6 sees it.)<br>
<br>
What is supposed to be the difference between !!! and ...? (And bonus<br>
points if you can explain what bash is doing.)<br>
</blockquote></div><br clear=3D"all"><div><br></div>-- <br><div dir=3D"ltr"=
 class=3D"gmail_signature" data-smartmail=3D"gmail_signature"><div dir=3D"l=
tr"><div><div dir=3D"ltr"><div>brandon s allbery kf8nh</div><div><a href=3D=
"mailto:[email protected]" target=3D"_blank">[email protected]</a></div=
></div></div></div></div>

--000000000000af833b057589151f--