hi, Jacopo, i'm not convinced this is needed over and above your old "solution" of using <<noweb>> witn N-different source blocks, each :tangle'ing to a different file.
but, i'm curious -- in the example you sent, did you miss a ":tangle" on
the "#+begin_src" line?
> #+begin_src sh '("filename1" "filename2")
> #my script
> #+end_src
cheers, Greg
