Eric Schulte <eric.schu...@gmx.com> writes: > Leo Alekseyev <dnqu...@gmail.com> writes: > >> I was wondering if there was an easy way to execute some shell >> commands contained in a src block as root. Alternatively, is there a >> quick way to export _just_ that one source block to a temp file so >> that I could run it as root manually? >> > > Just call org-babel-tangle with a prefix argument and it only tangles > the current block > >>
Hi, I did not know this either. Thanks for the hint! Shouldn't this be mentioned in the manual (14.4)? I have two questions/issues about this: (1) Can I get noweb-references to be expanded by this? Or how would I tangle one block with noweb references expanded? (2) I am asked for a filename. But the header argument :tangle somefile is overruling my input, which is un-expected. Regards, Andreas