On Tue, Oct 02, 2001 at 12:20:49AM +0200, Piet Delport ([EMAIL PROTECTED]) wrote: > On Mon, 01 Oct 2001 at 11:19:43 -0500, David Champion wrote: > > You can do it a bit more elegantly[1] with this ex one-liner: > > 1;/^$/+1,$!gpg --clearsign
You might also want to redirect stderr to avoid putting gpg warnings (such as gpg: Warning: using insecure memory!) into the message: 1;/^$/+1,$!/bin/sh -c 'gpg -sat 2>/dev/tty' -- Dominique