If I run the following macro, I end up with a text file that says only:
and many new text files (each with only one line in it) in the Trash.
(Obviously, each line should just be appended to the original file with nothing going into the Trash at all. It’s interesting, though, that there are twelve new files in the Trash rather than eleven. The first one, which contains only the line
1 Foobar!, is there in duplicate: one file named
test.txt, the other named