From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: [Babel] Blank line preceeds tangled data Date: Fri, 26 Aug 2011 00:35:21 -0400 Message-ID: <5525.1314333321@alphaville.dokosmarshall.org> References: <87ippl2cse.fsf@norang.ca> Reply-To: nicholas.dokos@hp.com Return-path: Received: from eggs.gnu.org ([140.186.70.92]:60501) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qwo8c-0000lL-L4 for emacs-orgmode@gnu.org; Fri, 26 Aug 2011 00:35:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qwo8b-0004ju-0a for emacs-orgmode@gnu.org; Fri, 26 Aug 2011 00:35:26 -0400 Received: from g6t0186.atlanta.hp.com ([15.193.32.63]:46926) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qwo8a-0004ji-QQ for emacs-orgmode@gnu.org; Fri, 26 Aug 2011 00:35:24 -0400 In-Reply-To: Message from Bernt Hansen of "Thu, 25 Aug 2011 21:15:45 EDT." <87ippl2cse.fsf@norang.ca> 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: Bernt Hansen Cc: nicholas.dokos@hp.com, emacs-orgmode@gnu.org Bernt Hansen wrote: > Hi, > > When I tangle some file such as > > #+begin_src sh :tangle x.sh > #!/bin/sh > echo done > #+end_src > > I get the following output which includes a blank line up front. > > ,----[ x.sh ] > | > | #!/bin/sh > | echo done > `---- > > Doesn't this break the shebang line on unix? I don't think the leading > blank line should be in the tangled output. > Not sure why it's there (I'm sure Eric S. will enlighten us) but you can get rid of it with :padline no. Nick