From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by arlo.cworth.org (Postfix) with ESMTP id D43156DE0274 for ; Thu, 30 Apr 2015 22:58:54 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: 0.326 X-Spam-Level: X-Spam-Status: No, score=0.326 tagged_above=-999 required=5 tests=[AWL=0.326] autolearn=disabled Received: from arlo.cworth.org ([127.0.0.1]) by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id xyqejh7TZaQt for ; Thu, 30 Apr 2015 22:58:52 -0700 (PDT) Received: from mx.xen14.node3324.gplhost.com (gitolite.debian.net [87.98.215.224]) by arlo.cworth.org (Postfix) with ESMTPS id B8E4F6DE0140 for ; Thu, 30 Apr 2015 22:58:52 -0700 (PDT) Received: from remotemail by mx.xen14.node3324.gplhost.com with local (Exim 4.80) (envelope-from ) id 1Yo3x3-0003H4-JI; Fri, 01 May 2015 05:57:29 +0000 Received: (nullmailer pid 940 invoked by uid 1000); Fri, 01 May 2015 05:57:11 -0000 From: David Bremner To: Jack Peirce , "notmuch@notmuchmail.org" , "zack@upsilon.cc" Subject: Re: notmuch-mutt BSD compatibility In-Reply-To: <20150501052438.GA19579@ganesh.Home> References: <20150501052438.GA19579@ganesh.Home> User-Agent: Notmuch/0.19+96~g703c8f9 (http://notmuchmail.org) Emacs/24.4.1 (x86_64-pc-linux-gnu) Date: Fri, 01 May 2015 14:57:11 +0900 Message-ID: <871tj0et6w.fsf@maritornes.cs.unb.ca> MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 May 2015 05:58:54 -0000 Jack Peirce 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