Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Nov 2013 21:58:12 +0000
From:      Mark Robert Vaughan Murray <markm@FreeBSD.org>
To:        Anthony Perkins <anthony@acperkins.com>
Cc:        current@FreeBSD.org
Subject:   Re: Patch: Add option to fmt to ignore email reply lines
Message-ID:  <E05FEFD7-02C5-461F-A977-4743FB34A9DB@FreeBSD.org>
In-Reply-To: <20131125125430.GC67451@ul9n>
References:  <20131125125430.GC67451@ul9n>

next in thread | previous in thread | raw e-mail | index | archive | help

--Apple-Mail=_01428EC3-4302-44E9-B0D4-5A48571181F2
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=windows-1252


On 25 Nov 2013, at 12:54, Anthony Perkins <anthony@acperkins.com> wrote:

> I've added an option to 'fmt' to ignore lines beginning with the
> greater-than symbol, so that whole email replies can be piped through
> fmt (e.g. via vi from mutt) without needing to repeat the command
> for each of my paragraphs.
>=20
> This is my first real patch, so I would appreciate any feedback.

I=92ve not tried your patch, but I like the idea. When using NMH, I like
to use a paragraph reformatter before sending, and fmt(1) was terrible
because (as you note) it can=92t handle the reply quoting.

You may want to extend your idea a bit and do what par =
(ports/textproc/par)
does. This is a paragraph reformatter that takes the quoting into =
account,
replacing it after the paragraph wrapping.

M
--=20
Mark R V Murray


--Apple-Mail=_01428EC3-4302-44E9-B0D4-5A48571181F2
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename=signature.asc
Content-Type: application/pgp-signature;
	name=signature.asc
Content-Description: Message signed with OpenPGP using GPGMail

-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.22 (Darwin)
Comment: GPGTools - http://gpgtools.org

iQCVAwUBUpPH+t58vKOKE6LNAQp0HAQAlWPQUlmQ3KvnVWje39TxztLyOMQTHIzN
fb/pcOlG6VnRCm+NmeLpBTdGEpmKhGH8KE1CyWOxDgTS6G1Olk4pdZaZDUoOJ4sK
yvyqWvNV71eM8mnm5QXlndlAj53CdAZrMXvhqrASw4hzziUasCi6rpAv8RhJN7ry
OrV5aeUKVPg=
=XFgz
-----END PGP SIGNATURE-----

--Apple-Mail=_01428EC3-4302-44E9-B0D4-5A48571181F2--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E05FEFD7-02C5-461F-A977-4743FB34A9DB>