<<< Date Index >>>     <<< Thread Index >>>

Re: piping body and starting mutt for manuel editing?



Re: Robert Michel in <200403291611.27701.news@xxxxxxxxxxxxxxx>
> man mutt| grep -B 1 -A 2 body| mutt rob -s "man mutt"  -
> 
> Then I would like to edit the body of the mail with mutt and send this mail.
> Is this possible? How?

Hello,

you can't use piping in interactive mode; using a pipe usually implies
that you don't want to start an editor. You can use mutt -i to start
with an initial content. Writing a shell script that "cat"s its input
into a temporary file and then starts mutt -i tmpfile should be trivial.

Christoph
-- 
cb@xxxxxxxx | http://www.df7cb.de/

Attachment: signature.asc
Description: Digital signature