From: Johannes Weißl Date: Thu, 2 Dec 2010 11:26:15 +0000 (+0100) Subject: add possibility to specify msgid as argument + reply-to mode X-Git-Url: https://projects.mako.cc/source/muttjump/commitdiff_plain/95f0235d5cc8121a08d7f02f7a1c3a489697573d?ds=sidebyside add possibility to specify msgid as argument + reply-to mode --- diff --git a/muttjump b/muttjump index efdfb20..4ba392f 100755 --- a/muttjump +++ b/muttjump @@ -70,16 +70,31 @@ function is_callable () { type $1 >/dev/null 2>&1 } -# Check command-line arguments and STDIN -if tty -s || [ $# -ne 0 ] ; then +function usage () { cat >&2 <$/\1/') +msgid_clean=$(echo "$msgid" | sed -e 's/^$//') # try to locate path of message using a mail search engine case $MUTTJUMP_INDEXER in