-
Notifications
You must be signed in to change notification settings - Fork 16
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
Removed Syntactic Feature (-i flag for in-place file editing) #36
Comments
It is a frequently requested feature. I don't think there's any reason not to have, so somebody just needs to implement it. |
@lizmat suggested some kind of Hackathon - but we might need topics ;) |
Squashathon is currently in progress (21 hours left), any contributions to rakudo count, one winner gets a plush camelia :) Just submit a PR with the thing. However, last time I looked at it, in-place editing turned out to be a bit harder to implement than it seems. |
If we want this, I guess we need to implement this in Perl 6 logic, possibly in module space. If that works, we can hook it into the default parameter parsing if we think that is still a good idea. |
I'm fine with |
Then I suspect this is best implemented as a Perl 6 class taking the necessary parameters and producing the right output, and then hooking that into the parameter parsing logic? |
While digging into Perl6, I try to focus on users - those who use Perl 5 for some reason meanwhile, and how to catch them.
I found Perl Is Still The Goddess For Text Manipulation nowadays and walk over it. Unfortunately,
-i
has been removed (see https://github.com/perl6/specs/blob/master/S19-commandline.pod), because:When Perl 6 is still a Perl, this is a mandatory feature.
The text was updated successfully, but these errors were encountered: