I\'m well aware of the source (aka .) utility, which will take the contents from a file and execute them within the current shell.
source
.
Now, I\'
Why not use source then?
$ ls | sed ... > out.sh ; source out.sh