> And you would write:
>
> cat ~/mydoc.txt
>
> to read the contents of your "mydoc.txt" file.


I don't suppose there's a way to intermingle the applescript and the shell
script so that the write can go direct to a variable?

Imagining:

Man cp >someApplescriptVariable