Re: [PATCH] notmuch-mutt: replace shell pipeline with internal pipe processing

Subject: Re: [PATCH] notmuch-mutt: replace shell pipeline with internal pipe processing

Date: Tue, 11 Aug 2020 14:36:43 -0300

To: Tomi Ollila, notmuch@notmuchmail.org

Cc: tomi.ollila@iki.fi

From: David Bremner


Tomi Ollila <tomi.ollila@iki.fi> writes:

> The shell pipeline used to symlink files based in search results
> to "cache" directory for mutt(1) to use was prone to portability
> problems (due to /bin/sh differences).
>
> The replacement executes `notmuch search` without intermediate shell
> (so shell_quote was removed in this case), reads the filenames from
> piped output and symlinks files internally.
> ---
>
> Now also tested a bit by me (remoteusage provides stale symlinks ;)

tested by the original bug reporter

       https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=966100#22

seems to work.
_______________________________________________
notmuch mailing list -- notmuch@notmuchmail.org
To unsubscribe send an email to notmuch-leave@notmuchmail.org

Thread: