On Fri, Nov 13, 2015 at 09:05:30AM +1100, Cameron Simpson wrote:
> On 12Nov2015 10:24, Sandro Santilli <s...@keybit.net> wrote:
> >Is there a way to start mutt in "reply" mode, starting
> >from a mbox-formatted mail in input ?
> 
> Have you tried something like:
> 
>  mutt -f mbox-file -e 'push "<reply><quit>"'

Thanks, works great ! I think I'll wrap this up in a script for
mail-based peer review of code under git, something like this:

  TMPMBOX=$$.git.mbox
  git format-patch --stdout HEAD^^..HEAD^ > ${TMPMBOX}
  mutt -f /tmp/x -e 'push "<reply><quit>"'
  rm ${TMPMBOX}

Do you think there's any way to avoid the temporary file ?

--strk;

Reply via email to