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

Make sed work #4

Open
bspaans opened this issue May 23, 2016 · 0 comments
Open

Make sed work #4

bspaans opened this issue May 23, 2016 · 0 comments

Comments

@bspaans
Copy link
Contributor

bspaans commented May 23, 2016

Modifying a file with sed doesn't work. Either in place or using redirection:

sed -e 's/  replicas: 1/  replicas: 2/g' testmount/default/rc/postgres/yaml > testmount/default/rc/postgres/yaml

I have a feeling that instead of truncating the file and overwriting it sed tries to create a new file and move it in its place. Haven't looked into this though, but it would be nice to get this working.

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

1 participant