Hi all,

why is it, that I can not use this code in sh blocks (I get sh: 2: Bad
substitution), even though it is valid when I run the tangled
script?  Is this a known thing?

#+begin_src sh :shebang "#!/bin/bash" :tangle test.sh
  for i in *.org; do
      echo cp "$i" "${i/%.org/.bak.org}"
  done
#+end_src

How can I get the above block to execute?

Thanks in advance,
Andreas


Reply via email to