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

illegal byte sequence when modifying the installer #1866

Open
cpretzer opened this issue Aug 16, 2019 · 0 comments
Open

illegal byte sequence when modifying the installer #1866

cpretzer opened this issue Aug 16, 2019 · 0 comments

Comments

@cpretzer
Copy link

Running minidcos docker doctor results in an error message about the default version of sed on macOs Mojave which includes an URL to the Versioning, Support and API Stability page

That page includes instructions for modifying the installation script to change the sed behavior:
$ sed \ -e 'H;1h;$!d;x' \ -e "s/sed '0,/sed '1,/" \ dcos_generate_config.sh > dcos_generate_config.sh.bak

When this command is executed, I see this error message:
sed: RE error: illegal byte sequence

I was able to workaround this by setting the LANG=C environment variable when executing the script:
LANG=C sed -e 'H;1h;$!d;x' -e "s/sed '0,/sed '1,/" dcos_generate_config.sh > dcos_generate_config.sh.bak

There may be something specific about my development environment that is causing sed to error this way, so I'm creating this issue so that other folks will have this workaround.

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

No branches or pull requests

1 participant