Re: Best practice for writing and debugging shell source blocks?

2023-10-26 Thread Max Nikulin
On 24/10/2023 21:54, Tim Landscheidt wrote: The same thing happens if I add ":session my-test" to all source blocks, Have you tried to combine variables and session? #+name: get-random-value #+begin_src bash echo "$RANDOM" #+end_src #+header: :var random_var=get-random-value #+begin_src sh

Best practice for writing and debugging shell source blocks?

2023-10-24 Thread Tim Landscheidt
Hi, inspired by "Literate DevOps" (https://howardism.org/Technical/Emacs/literate-devops.html), I want to document some "stuff" in an Org file with the goal to be able to replay the steps done in the future so that I can either recreate the same "product" or variations there- of. My actual topic