notmuch-mutt BSD compatibility

David Bremner david at tethera.net
Thu Apr 30 22:57:11 PDT 2015


Jack Peirce <JPeirce at sourcecode.com> writes:
0 2015
> +++ new/contrib/notmuch-mutt/notmuch-mutt	Thu Apr 30 23:10:21 2015
> @@ -50,7 +50,7 @@
>      empty_maildir($maildir);
>      system("notmuch search --output=files $dup_option $query"
>  	   . " | sed -e 's: :\\\\ :g'"
> -	   . " | xargs --no-run-if-empty ln -s -t $maildir/cur/");
> +	   . " | xargs -r -I searchoutput ln -s searchoutput $maildir/cur/");
>  }

Recent notmuch (since 0.15, January 2013!) has the --format=text0 option for
use with xargs -0.

d


More information about the notmuch mailing list