From: Michele OrrĂ¹ Date: Sat, 24 Jan 2015 17:19:06 +0000 (+0100) Subject: When piping notmuch search into xargs, use --no-run-if-empty. X-Git-Url: https://git.cworth.org/git?a=commitdiff_plain;h=a9ad99631a50bde3181cf94327c52883cc7af138;hp=a9ad99631a50bde3181cf94327c52883cc7af138;p=notmuch-wiki When piping notmuch search into xargs, use --no-run-if-empty. This might be useful to avoid non-zero returncodes when there are no search results and xargs' command expect one or more arguments, like in `rm`. ---