[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: comma vs space (was: Re: supporting http proxy via a config file)

From: Karl Fogel <kfogel_at_newton.ch.collab.net>
Date: 2002-03-13 01:27:05 CET

Greg Stein <gstein@lyra.org> writes:
> I think there will be other cases where you have "lists" of data. So the
> question comes up: which will be more common in values? commas or spaces? If
> you say commas are common, so use spaces, then I'd like to see the data that
> has a comma without a following space :-)
>
> The net result is that you have a standard "list format" for option values.
> That is: comma-separated values.

Cool, makes sense. Thanks for the succinct explanation.

> Note that we should create: svn_string_split() which takes an svn_string_t,
> a separator, and a flag on whether to strip leading/trailing whitespace.
> That function could be used to split paths, split log messages, split
> svn:ignore properties, and split comma-separated lists.

No, I think we should write it by hand, using inline assembly
language, everywhere we're going to use it.

-K

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Mar 13 01:17:01 2002

This is an archived mail posted to the Subversion Dev mailing list.