macro piping to query output
- To: mutt-users@xxxxxxxx
- Subject: macro piping to query output
- From: "Michael M. Tung" <michael.m.tung@xxxxxxxxx>
- Date: Sun, 26 Nov 2006 01:14:03 +0100
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:date:from:to:subject:message-id:mail-followup-to:mime-version:content-type:content-disposition:x-operating-system:x-pgp-key:x-pgp-fingerprint:user-agent; b=np1PXfCa3ndL+tAfJf3Km8ujsmjCxsQIgTNqyX0VVYjZW/uHHYcNDpxBhQqJXTXSfXmpDyGVOerlJFNK8jvP2ia5vHMNEoVcv03UxgHS9ZPGb5IfN0iTa2SYhGLp1HA1tLRqnwjzcDGMYIZyqCu9MO8FikW9ndo+vAFsLURrIlI=
- List-unsubscribe: <mailto:mutt-users-request@mutt.org?body=unsubscribe>
- Mail-followup-to: mutt-users@xxxxxxxx
- Sender: owner-mutt-users@xxxxxxxx
- User-agent: Mutt/1.5.13 (2006-08-11)
Hi,
In my muttrc configuration I am using
set query_command="lbdbq '%s'"
for my query function (default command: Q).
After the query I want to pipe the selected
line of the output to an external program.
Using e.g.
macro query b "|/home/mike/query2abook"
to execute my script query2abook doesn't work.
How can I pass information from Q-output to
external programs (similar to the internal
alias command)?
Many thanks in advance.
Best,
Michael
--
Attachment:
pgps4FSyWuRtr.pgp
Description: PGP signature