From: martin f. krafft Date: Tue, 26 Mar 2019 12:01:58 +0000 (+0100) Subject: fix task_attach link parsing X-Git-Url: https://git.madduck.net/etc/taskwarrior.git/commitdiff_plain/193e043aac45bae41c2694f247e31d268a04f3ec?ds=sidebyside fix task_attach link parsing --- diff --git a/.bin/task_attach b/.bin/task_attach index efcbf4b..7df89a6 100755 --- a/.bin/task_attach +++ b/.bin/task_attach @@ -11,7 +11,7 @@ LINK="$2" case "$LINK" in (*@*|"<*>") - LINK="${LINK%>}"; LINK="%{LINK#<}" + LINK="${LINK%>}"; LINK="${LINK#<}" echo >&2 I: "Adding MsgID <$LINK> to task $TSK" task "$TSK" mod data:msgid:"$LINK" ;;