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

Binary env variables? #15

Open
tyteen4a03 opened this issue Nov 20, 2022 · 1 comment
Open

Binary env variables? #15

tyteen4a03 opened this issue Nov 20, 2022 · 1 comment
Labels
ACCEPTABLE Pull requests are welcome!

Comments

@tyteen4a03
Copy link

I would like to store binary strings like this: https://stackoverflow.com/a/46458707/1049833 - but it doesn't seem to be supported by shdotenv because "using without quotes is not allowed".

Is there any way around this?

@ko1nksm
Copy link
Owner

ko1nksm commented Jul 18, 2024

There is no workaround at this time.

The reason shdotenv does not support $'...' because it was not standardized in POSIX. But it was standardized in POSIX.1-2024, published on June 14, 2024. Also, many shells already support it, and dash, which is the biggest concern, will be supported in the next version.

$'...' implementation is acceptable. However, it will take some time as I do not have enough time at the moment. Pull Requests are wellcome.

@ko1nksm ko1nksm added the ACCEPTABLE Pull requests are welcome! label Jul 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ACCEPTABLE Pull requests are welcome!
Projects
None yet
Development

No branches or pull requests

2 participants