From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?utf-8?Q?S=C3=A9bastien_Vauban?= Subject: [Babel] Coding system of tangled files? Date: Thu, 18 Nov 2010 13:59:10 +0100 Message-ID: <801v6ieqjl.fsf@mundaneum.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org To: emacs-orgmode-mXXj517/zsQ@public.gmane.org #+TITLE: Format for tangling files #+DATE: 2010-11-18 #+BABEL: :comments yes * Script #+begin_src sh :tangle doit.sh #!/bin/bash # Example ls date #+end_src * Execute it in a Bash shell The tangled file, when launched from withing a Bash shell, returns errors: #+begin_src sh sva@MEDIACENTER:.../Accounting/dev 127$ ./doit.sh=20 ./doit.sh: line 4: $'\r': command not found ./doit.sh: line 5: $'ls\r': command not found ./doit.sh: line 6: $'date\r': command not found #+end_src The reason is that the tangled file is saved as UTF-8-dos (being under Windows). It should be saved in unix format. Is there a way to impose this? Best regards, Seb --=20 S=C3=A9bastien Vauban _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode-mXXj517/zsQ@public.gmane.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode