Fixed Can't @iniread a section w quotes in the name

Apr 29, 2009
Redmond, WA
I'm trying to read a git config file which has a section [remote "origin"] w @iniread without success. I may just be doing something wrong.


p.s. attached is the file, I've tried escaping the " a few ways, TCC 15.00.27


    355 bytes · Views: 217
I have no idea why, but TCC is removing **all** quotes!
v:\> type file.cfg
me = vince
[section 1]
foo = one
[section "2"]
bar = two

v:\> echo %@iniread[v:\file.cfg,"s"e"c"t"i"o"n" "1",foo]
That, I can understand. But I would expect escaped quotes, or %=Q, to make it through.
I can't think of a situation in which I'd want to remove all quotation marks from a string. BTW, if you escape them, they're removed and the escape characters remain.

Similar threads