Skip to content
This repository has been archived by the owner on Oct 15, 2024. It is now read-only.

INI: support not having spaces around = #2065

Closed
markus2330 opened this issue Jun 10, 2018 · 3 comments
Closed

INI: support not having spaces around = #2065

markus2330 opened this issue Jun 10, 2018 · 3 comments
Assignees

Comments

@markus2330
Copy link
Contributor

INI currently creates a space around =. This behavior breaks some software, e.g. shell files but also courier config files:

sudo kdb mount /etc/courier/imapd system/courier/imapd ini
sudo kdb set system/courier/imapd/MAILDIRPATH Mail
sudo /etc/init.d/courier-imap restart
#> Restarting Courier IMAP server: imapd failed!

(The error message clearly indicates the problem.)

Is there a good reason to have these spaces? Otherwise I would suggest we simply remove them by default. And if people want them, they can choose their delimiter to be " = "?

@alexsaber
Copy link
Contributor

Hi! Can you please assign me to this issue? I have picked 3 more ini related problems.

@markus2330
Copy link
Contributor Author

Thank you, I assigned you these issues.

I think this issue is a good starting point to get to know the parser.

alexsaber added a commit to alexsaber/libelektra that referenced this issue Mar 26, 2019

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
@markus2330 markus2330 mentioned this issue Jun 1, 2019
8 tasks
@markus2330
Copy link
Contributor Author

Finally done!

@markus2330 markus2330 mentioned this issue Sep 16, 2020
6 tasks
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants