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

2012-03-12 Thread Eric Schulte
Nick Dokos writes: > Eric Schulte 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_sr

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

2012-03-09 Thread Nick Dokos
Eric Schulte 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

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

2012-03-09 Thread Eric Schulte
Nick Dokos writes: > Leo Alekseyev wrote: > >> I have the following source block that I tangle to produce a short script: >> >> #+begin_src sh :tangle code/get_wavs.sh >> #!/bin/bash >> for fn_in in "$@"; do >> fn_out=$(sed -e 's|\.3gp$||g' -e 's|$|.wav|g' <<< $fn_in) >> ffmpeg

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

2012-03-09 Thread Nick Dokos
Leo Alekseyev wrote: > I have the following source block that I tangle to produce a short script: > > #+begin_src sh :tangle code/get_wavs.sh > #!/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 pc

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

2012-03-09 Thread Leo Alekseyev
I have the following source block that I tangle to produce a short script: #+begin_src sh :tangle code/get_wavs.sh #!/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 Howeve