From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?utf-8?Q?Oliver_Ve=C4=8Dern=C3=ADk?= Subject: Re: diff in `src' blocks Date: Mon, 13 May 2013 10:07:13 +0200 Message-ID: <8738trpaku.fsf@kerstf.org> References: <877gj3pc5v.fsf@kerstf.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:40537) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UbnnB-000345-Ax for emacs-orgmode@gnu.org; Mon, 13 May 2013 04:07:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ubnn6-00067x-Sy for emacs-orgmode@gnu.org; Mon, 13 May 2013 04:07:33 -0400 Received: from plane.gmane.org ([80.91.229.3]:42251) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ubnn6-00067s-Mg for emacs-orgmode@gnu.org; Mon, 13 May 2013 04:07:28 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Ubnn5-0003Rj-SL for emacs-orgmode@gnu.org; Mon, 13 May 2013 10:07:27 +0200 Received: from 178.112.135.165.wireless.dyn.drei.com ([178.112.135.165]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 13 May 2013 10:07:27 +0200 Received: from ov by 178.112.135.165.wireless.dyn.drei.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 13 May 2013 10:07:27 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org > Why is the `diff' command alone not exported while the piped `diff' via > `cat' works? Is this this a bug? Figured out myself, sorry for the noise. It has to do with the exit status of the `diff', which is 1 if the files are different. So I use the pipe through `cat'.