We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I get syntax error when parsing repo files that contain & in "value".
bash-ini-parser: eval: line 86: syntax error near unexpected token `&' bash-ini-parser: eval: line 86: `mirrorlist=( http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os&infra=$infra )' bash-ini-parser: eval: line 89: syntax error near unexpected token `}' bash-ini-parser: eval: line 89: `}'
[centos-kernel] name=CentOS LTS Kernels for $basearch mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=kernel&infra=$infra
As a quick test, I escaped & and the example below passes.
[centos-kernel] name=CentOS LTS Kernels for $basearch mirrorlist=http://mirrorlist.centos.org/?release=$releasever\&arch=$basearch\&repo=kernel\&infra=$infra
The text was updated successfully, but these errors were encountered:
There's an initial section of escaped vars
https://github.com/albfan/bash-ini-parser/blob/master/bash-ini-parser#L30
I expected lot of corner cases for this but at least a failed test to describe what it supports and what it don't would be interesting.
Let me know if you can code something around that
Sorry, something went wrong.
No branches or pull requests
I get syntax error when parsing repo files that contain & in "value".
As a quick test, I escaped & and the example below passes.
The text was updated successfully, but these errors were encountered: