From: Ivanov Dmitry <usr345@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Extra empty line at the top of the page when tangling.
Date: Wed, 22 Oct 2014 08:53:44 +0400 [thread overview]
Message-ID: <CAHyAE10fqnUZT7j0wrjoU9dCCd=r3VgAS=VPk5PH0-+1b1fBww@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 467 bytes --]
Code:
#+BABEL: :cache yes :tangle yes :noweb yes
#+NAME: top_block
#+begin_src perl :tangle "test.pl" :noweb tangle
#!/usr/bin/perl
use strict;
use warnings;
open(my $fh, "<", "test.txt")
or die "cannot open < file name: $!";
<<output-all>>
close($fh);
#+end_src
#+NAME: output-all
#+begin_src perl
while (my $line = <$fh>) {
print $line;
}
#+end_src
Outputs a perl file, where the 1-st line is blank. What should I do to
remove it?
[-- Attachment #2: Type: text/html, Size: 687 bytes --]
next reply other threads:[~2014-10-22 4:53 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-22 4:53 Ivanov Dmitry [this message]
2014-10-22 6:26 ` Extra empty line at the top of the page when tangling Daimrod
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAHyAE10fqnUZT7j0wrjoU9dCCd=r3VgAS=VPk5PH0-+1b1fBww@mail.gmail.com' \
--to=usr345@gmail.com \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.