Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

-p busted on Moar in Rakudo #3372

Closed
p6rt opened this issue Apr 23, 2014 · 6 comments
Closed

-p busted on Moar in Rakudo #3372

p6rt opened this issue Apr 23, 2014 · 6 comments
Labels

Comments

@p6rt
Copy link

p6rt commented Apr 23, 2014

Migrated from rt.perl.org#121719 (status was 'resolved')

Searchable as RT121719$

@p6rt
Copy link
Author

p6rt commented Apr 23, 2014

From @masak

<retupmoca> on perl6-m​:
<retupmoca> > echo "This is cool" | perl6 -p -e 's/cool/nice/'
<retupmoca> ===SORRY!===
<retupmoca> Error while compiling op callstatic​: QAST​::Var with scope '' NYI
<vaskozl> yah
<raiph> me too

(I reproduced it too)

$ echo "This is cool" | perl6 -p -e 's/cool/nice/'
===SORRY!===
Error while compiling op callstatic​: QAST​::Var with scope '' NYI

<moritz> does it work with -n and a final ; .say ?
<retupmoca> echo "This is cool" | perl6 -n -e 'say s/cool/nice/'
<retupmoca> ^ that works
<retupmoca> (so does ';.say')
<vaskozl> the first thing I tried :D
<masak> vaskozl​: see? :)
<masak> vaskozl​: you're helping already!
* masak submits rakudobug

@p6rt
Copy link
Author

p6rt commented May 18, 2014

From @FROGGS

Hi, sadly I cannot reproduce this issue​:

$ echo "This is cool" | perl6-m -p -e 's/cool/nice/'
This is nice
$ echo "This is cool" | perl6-p -p -e 's/cool/nice/'
This is nice
$ echo "This is cool" | perl6-j -p -e 's/cool/nice/'
This is nice
$ echo "This is cool" | perl6 -p -e 's/cool/nice/'
This is nice

Does that still happen on your box?

Mine is​: This is perl6 version 2014.04-291-g3f8e0e1 built on MoarVM version 2014.04-143-gc527241

@p6rt
Copy link
Author

p6rt commented May 18, 2014

The RT System itself - Status changed from 'new' to 'open'

@p6rt
Copy link
Author

p6rt commented Oct 20, 2014

From @usev6

This seems to work now​:

$ echo "This is cool" | ./perl6-m -p -e 's/cool/nice/'
This is nice

$ echo "This is cool" | ./perl6-p -p -e 's/cool/nice/'
This is nice

$ echo "This is cool" | ./perl6-j -p -e 's/cool/nice/'
This is nice

Since there is also a similiar test in S19-command-line-options/03-dash-p.t I'm closing this ticket.

1 similar comment
@p6rt
Copy link
Author

p6rt commented Oct 20, 2014

From @usev6

This seems to work now​:

$ echo "This is cool" | ./perl6-m -p -e 's/cool/nice/'
This is nice

$ echo "This is cool" | ./perl6-p -p -e 's/cool/nice/'
This is nice

$ echo "This is cool" | ./perl6-j -p -e 's/cool/nice/'
This is nice

Since there is also a similiar test in S19-command-line-options/03-dash-p.t I'm closing this ticket.

@p6rt p6rt closed this as completed Oct 20, 2014
@p6rt
Copy link
Author

p6rt commented Oct 20, 2014

@usev6 - Status changed from 'open' to 'resolved'

@p6rt p6rt added the Bug label Jan 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant