Obviously, there's no way to go back and edit anything mid-stream, you have to write the whole thing out in one shot.
$ cat foo bar > baz