emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Blank first line in a tangled file prevents src block execution


From: Nick Dokos
Subject: Re: [O] Blank first line in a tangled file prevents src block execution
Date: Fri, 09 Mar 2012 18:14:38 -0500

Eric Schulte <address@hidden> wrote:

> Or try
> 
> #+begin_src sh :tangle code/get_wavs.sh :shebang #!/bin/bash
>   for fn_in in "$@"; do
>       fn_out=$(sed -e 's|\.3gp$||g' -e 's|$|.wav|g' <<< $fn_in)
>       ffmpeg -i $fn_in -vn -f wav -acodec pcm_u8 $fn_out
>   done
> #+end_src
> 

That reminds me: I believe shebang is used in tangling, but not in evaluation.
Assuming that's correct, is there any fundamental reason for it not being used
in evaluation?

Panruo Wu's question in another thread ( 
http://thread.gmane.org/gmane.emacs.orgmode/53157 )
brought this to mind.

Thanks,
Nick



reply via email to

[Prev in Thread] Current Thread [Next in Thread]