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
It appears that the -p doesn't work correctly in jRuby; it loops correctly, but even if $_ is altered, it prints whatever was passed in as input.
-p
Example repro:
jruby -pe "$_.gsub!(/./, 'TEST')"
Type into this: CTRL-D to exit.
Tested on several 9.x.x.x series jRubies, latest jRuby-9.0.4.0
The text was updated successfully, but these errors were encountered:
b7dc414
Thank you!
Sorry, something went wrong.
No branches or pull requests
It appears that the
-p
doesn't work correctly in jRuby; it loops correctly, but even if $_ is altered, it prints whatever was passed in as input.Example repro:
jruby -pe "$_.gsub!(/./, 'TEST')"
Type into this: CTRL-D to exit.
Tested on several 9.x.x.x series jRubies, latest jRuby-9.0.4.0
The text was updated successfully, but these errors were encountered: