From: Morten K. Poulsen <morten@afdelingp.dk>
To: mlmmj@mlmmj.org
Subject: Re: [PATCH] chomp to remove '\r' as well
Date: Mon, 11 Sep 2006 18:14:48 +0000 [thread overview]
Message-ID: <dfd76b251180ce4e3e96006402eca800@mail.n0rd.dk> (raw)
In-Reply-To: <20060911123559.GK1815@mmj.dk>
On Mon, 11 Sep 2006 14:35:59 +0200, Mads Martin Joergensen <mmj@mmj.dk> wrote:
> Anyone object to this behaviour?
[snip]
> - while(str[i] = '\n') {
> + while(str[i] = '\n' || str[i] = '\r') {
Fine by me.
Was the guy using the twisted BSD variant from Apple Computer, which uses \r and not \n?
Morten
--
Morten K. Poulsen <morten@afdelingp.dk>
http://www.afdelingp.dk/
next prev parent reply other threads:[~2006-09-11 18:14 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-09-11 12:35 [PATCH] chomp to remove '\r' as well Mads Martin Joergensen
2006-09-11 13:11 ` Joel Aelwyn
2006-09-11 13:18 ` Mads Martin Joergensen
2006-09-11 13:25 ` Joel Aelwyn
2006-09-11 18:14 ` Morten K. Poulsen [this message]
2006-09-11 23:25 ` Mads Martin Joergensen
2006-09-12 15:50 ` Morten K. Poulsen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=dfd76b251180ce4e3e96006402eca800@mail.n0rd.dk \
--to=morten@afdelingp.dk \
--cc=mlmmj@mlmmj.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.