From owner-freebsd-current@FreeBSD.ORG Mon Nov 25 21:58:22 2013 Return-Path: Delivered-To: current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id EBE8A3EE; Mon, 25 Nov 2013 21:58:22 +0000 (UTC) Received: from gromit.grondar.org (grandfather.grondar.org [IPv6:2a01:348:0:15:5d59:5c20:0:2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id B59682CA2; Mon, 25 Nov 2013 21:58:22 +0000 (UTC) Received: from graveyard.grondar.org ([88.96.155.33] helo=gronkulator.grondar.org) by gromit.grondar.org with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.80.1 (FreeBSD)) (envelope-from ) id 1Vl4Ad-0006fL-V7; Mon, 25 Nov 2013 21:58:21 +0000 Subject: Re: Patch: Add option to fmt to ignore email reply lines Mime-Version: 1.0 (Mac OS X Mail 7.0 \(1822\)) Content-Type: multipart/signed; boundary="Apple-Mail=_01428EC3-4302-44E9-B0D4-5A48571181F2"; protocol="application/pgp-signature"; micalg=pgp-sha512 From: Mark Robert Vaughan Murray In-Reply-To: <20131125125430.GC67451@ul9n> Date: Mon, 25 Nov 2013 21:58:12 +0000 Message-Id: References: <20131125125430.GC67451@ul9n> To: Anthony Perkins X-Mailer: Apple Mail (2.1822) X-SA-Score: -1.0 Cc: current@FreeBSD.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Nov 2013 21:58:23 -0000 --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 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--