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

Cannot combine search with --modify-files #58

Open
lizmat opened this issue Aug 19, 2024 · 0 comments
Open

Cannot combine search with --modify-files #58

lizmat opened this issue Aug 19, 2024 · 0 comments

Comments

@lizmat
Copy link
Owner

lizmat commented Aug 19, 2024

This should only change "foo" into "zippo" on lines that contain the word "look"

rak --modify-files §look --and='*.subst("foo","zippo",:g)' doc --dont-catch
No lexical found with name '$*_'
  in block  at EVAL_0 line 1
  in block  at /Users/liz/Github/rakudo/install/share/perl6/site/sources/70C6A88A4D24E5AE8D2D1FD9DDAE8F61E67B8304 (rak) line 489
  in sub rak at /Users/liz/Github/rakudo/install/share/perl6/site/sources/70C6A88A4D24E5AE8D2D1FD9DDAE8F61E67B8304 (rak) line 1412
  in sub run-rak at /Users/liz/Github/rakudo/install/share/perl6/site/sources/A3305D8B080035788ADEC2CA92D678DF9712BE6E (App::Rak) line 711
  in sub action-modify-files at /Users/liz/Github/rakudo/install/share/perl6/site/sources/A3305D8B080035788ADEC2CA92D678DF9712BE6E (App::Rak) line 3272
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant