I'm trying to capture the output of rg but I'm getting no output (I'm getting the message "Code block produced no output" in the minibuffer.
I've also tried ag
and pt
which don't work either. It works with grep but this is too slow for my use-case.
Example:
#+BEGIN_SRC shell
mkdir -p myproject
pushd myproject
echo "something" > something.txt
rg something
popd
#+END_SRC
#+RESULTS:
I've tried the solutions from these similar questions, but they're not working here: