[PATCH 1/3] libshell: fix subtle section parsing bug
legion at altlinux.ru
Wed May 28 15:18:32 PDT 2014
29.05.2014 01:18, Keller, Jacob E wrote:
>> This code is very old. ini_config_is_set has no more of this
> Actually, ini_config_is_set is something I added to the code as our
> use case required being able to distinguish between a set but empty
> field or a non-set field.
Oh! My bad. I missed '_is_' in the name :)
>> You can make a patch against recent version ?
>> I don't know your usecase, but if you talk about the subsections,
>> then you may be interested in shell-git-config (parser of
>> git-like config files).
> That might be better for our case, as the git-like configuration is
> a bit more powerful.
Unfortunately this is exactly git-like. I wasn't able to implement the
whole spec. Some cases are difficult to implement in shell :)
But this is exactly exotic cases that I have never seen.
More information about the aiaiai