X-Git-Url: https://git.madduck.net/etc/mutt.git/blobdiff_plain/c51ed23a412555b3c79d5a336af6878324fb49a4..176ccbf20313c18865fbb64898b5c7f7376acacb:/.mutt/add-tickle-stamp?ds=inline diff --git a/.mutt/add-tickle-stamp b/.mutt/add-tickle-stamp index fbb5673..4adf491 100755 --- a/.mutt/add-tickle-stamp +++ b/.mutt/add-tickle-stamp @@ -24,7 +24,8 @@ else *[0-9]m) date="now + ${arg%m} months 00:00";; *[0-9]h) date="now + ${arg%h} hours";; *[0-9]d) date="now + ${arg%d} days 00:00";; - @[0-9]*|*[0-9]) date="@${arg#@}";; + @#[0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9]) + date="@${arg#@}";; *' '*) date="$args";; *[!0-9]*) echo "E: invalid argument: $arg" >&2