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

add an -inplace option? #4

Open
Mistobaan opened this issue May 29, 2017 · 3 comments
Open

add an -inplace option? #4

Mistobaan opened this issue May 29, 2017 · 3 comments

Comments

@Mistobaan
Copy link

I think it would be useful to add an --inplace option where the target destination file is the source file :)

@a8m
Copy link
Owner

a8m commented Jul 6, 2017

sounds like a good idea.
but imo, -w is a better name for the flag. (similar to gofmt).

@icy
Copy link

icy commented May 20, 2020

I think it would be useful to add an --inplace option where the target destination file is the source file :)

I think you can just use https://linux.die.net/man/1/sponge ?

@polarathene
Copy link
Contributor

For reference a similar CLI tool (written in Rust) also uses -w: https://github.com/igtm/envbed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants