Re: [PATCH/RFC] config: Add --null/-z option for null-delimted output

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

On Tue, 19 Jun 2007, Frank Lichtenheld wrote:

> On Mon, Jun 18, 2007 at 06:37:35PM -0700, Junio C Hamano wrote:
> > Johannes Schindelin <Johannes.Schindelin@xxxxxx> writes:
> > Another possibility, though, is to say:
> > 
> > 	core.some\0where\0core.over\0\0core.the\0core.rainbow\0
> 
> How do you denote empty values then?
> 
> [section]
> 	key=
> 	key
> 
> this are two very different statements atm (e.g. the one is false and
> the other one is true).
> 
> I still think using two different delimiters is the simplest choice.

Okay, good point. But of course, you have to use a delimiter for the key 
name that cannot be part of the keyname. You picked '\n'. The original was 
'='. Both work.

Ciao,
Dscho

-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux