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

modeldb-run.yaml: sed -i is not portable #44

Closed
alexsavulescu opened this issue Jun 25, 2022 · 1 comment · Fixed by #48
Closed

modeldb-run.yaml: sed -i is not portable #44

alexsavulescu opened this issue Jun 25, 2022 · 1 comment · Fixed by #48
Labels
bug Something isn't working macOS

Comments

@alexsavulescu
Copy link
Member

No description provided.

@alexsavulescu
Copy link
Member Author

Apparently we can use

sed -i'.original' -e 's/old_link/new_link/g' file

see: https://stackoverflow.com/questions/4247068/sed-command-with-i-option-failing-on-mac-but-works-on-linux

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working macOS
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant