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

Fix sed command for MacOS #12

Merged
merged 1 commit into from May 1, 2022
Merged

Fix sed command for MacOS #12

merged 1 commit into from May 1, 2022

Conversation

stweil
Copy link
Contributor

@stweil stweil commented May 1, 2022

sed on MacOS complains when the terminating semicolon is missing:

sed: 1: "/^cudart/{s/cudart-//;s ...": extra characters at the end of q command

Signed-off-by: Stefan Weil sw@weilnetz.de

sed on MacOS complains when the terminating semicolon is missing:

    sed: 1: "/^cudart/{s/cudart-//;s ...": extra characters at the end of q command

Signed-off-by: Stefan Weil <sw@weilnetz.de>
Copy link
Owner

@bertsky bertsky left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Again, amazing how quirky BSD tools are. So it seems quite hard to write portable sed scripts...

@bertsky bertsky merged commit ec0c23e into bertsky:master May 1, 2022
@stweil stweil deleted the sed-mac branch May 2, 2022 20:42
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

Successfully merging this pull request may close these issues.

None yet

2 participants