thanks for the great one-liner, piet ... that is why i read these lists

aloha,
dave

On Tue, Oct 02, 2001 at 12:20:49AM +0200, Piet Delport wrote:
> On Mon, 01 Oct 2001 at 11:19:43 -0500, David Champion wrote:
> > On 2001.10.01, in <[EMAIL PROTECTED]>,
> >     "Frederik Vanrenterghem" <[EMAIL PROTECTED]> wrote:
> > > I'm trying out some ways to clear text sign a message in mutt, using
> > > :%!gpg -eas
> > > 
> > > Unfortunately, all headers (including "to") are signed, effectively
> > > making these headers useless. Is there a way to specify to this
> > > filter only to sign/encrypt the actual message body?
> > 
> > I can do it in vi thusly:
> > 
> > :1                  [to top of file]
> > /^$                 [find header/body boundary]
> > j                   [down 1 line to body proper]
> > !Ggpg --clearsign   [pipe/replace from here to EOF into gpg]
> > 
> > I suppose that vim ought to work the same way.
> 
> You can do it a bit more elegantly[1] with this ex one-liner:
> 
> 1;/^$/+1,$!gpg --clearsign
> 
> 
> [1] or obscurely, take your pick *grin*
> 
> -- 
> Piet Delport <[EMAIL PROTECTED]>
> Today's subliminal thought is:


Reply via email to