pareto optimal <pareto.opti...@mailfence.com> writes: > #+RESULTS: > #+begin_example > "git ls-files ~/system/users/profiles/emacs/default.nix > git ls-files ~/system/users/profiles/emacs/emacs-packages.nix > git ls-files ~/system/users/profiles/chat/default.nix > git ls-files ~/system/profiles/misc/default.nix > git ls-files " > #+end_example > *** here's what hapepns if we just run =all-tangled-filepaths= > > ... > #+name: files-to-remove-from-git > #+begin_src sh :noweb yes :dir ~/system > git ls-files <<all-tangled-filepaths()>> > #+end_src
This is because noweb automatically appends text before <<...>> to each line of multi-line noweb expansions. See https://orgmode.org/manual/Noweb-Reference-Syntax.html On the latest Org, this behaviour can be disabled using :noweb-prefix no header argument. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at <https://orgmode.org/>. Support Org development at <https://liberapay.com/org-mode>, or support my work at <https://liberapay.com/yantar92>