Ted Zlatanov <t...@lifelogs.com> writes:

> On Mon, 04 Feb 2013 16:15:47 -0800 Junio C Hamano <gits...@pobox.com> wrote: 
> JCH> Ted Zlatanov <t...@lifelogs.com> writes:
>>> - do you want to support backslashed newlines?
> JCH> What for?  netrc/authinfo is not a line oriented file format at all,
> JCH> and
> JCH>  machine k.org
> JCH>                  login me
> JCH>                         password mysecret
> JCH> is a single entry; you do not need backslash at the end of any line.
> Hmm. The parser I implemented only does single-line parsing, and I
> misunderstood the format to be single-line (partly because I have never
> seen anyone using the multi-line format you show).  Looking at
> Net::Netrc more carefully, it seems that the "machine" token is what
> defines an entry, so a new entry starts with a new line that contains a
> "machine" token.  Is that acceptable and does it match your
> understanding of the format?  It matches Net::Netrc, at least.

I thought I've given a more concrete outline than "I'll read
Net::Netrc and do whatever I think it does" in a separate message.

It would be better to read "man netrc" carefully at least once ;-)
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to