> Hi folks,
> I have a question about PMget and the configuration file format.
[quoted text clipped - 15 lines]
>
> Which one is right?
As best as I can tell from a quick look at the mess that is glf/pm.c,
the wiki is right. The confusion arises because a string like
connect,install,class
is ONE undelimited value string, that happens to contain commas.
connect, install, class
is (probably) THREE undelimited value strings that get concatenated.
I don't know if it preserves the whitespace which is the delimiter;
my guess is no, but I'd have to spend more time staring at it,
or trying an example.
This should answer your next question too:
> Also if u specify Value String with "Delimited Value Strings" such as
> "connect,install,class" and when using PMGet to fetch the data , PMGet
> will return them as a whole string or separated ones?
One string.
Karl
zhenchen17 - 25 Jul 2008 10:20 GMT
Thanks Karl,
I took a look at gl/pm.c PMmSearch function, It seems nothing special
to deal with the value string delimited by whitespace, it always
return the match value :)
So i guess is there any special actions that interpreting delimited
values string as separated ones when reading the config file? I have
no idea for i am not familiar with the yy program.
On 7月24日, 下午10时09分, Karl & Betty Schendel <schen...@kbcomputer.com>
wrote:
> > Hi folks,
> > I have a question about PMget and the configuration file format.
[quoted text clipped - 36 lines]
>
> Karl