Passing trailing text to output file

I have a data file that I want to perform math on using gmtmath. The format of the file is:
X Y some_text more_text
-317516 109061 high ms0334
-317517 109062 low ms0334

I want to perform math on X and Y, ignore the text but move it to the output file. I tried the following, it performs math on X and Y, but deletes the text in the output file. What am I doing wrong?

gmt math -fi0x,1y,2:3s -fo0x,1y,2:3s file_in 3600 DIV = file_out

138 30.3 0 0

Thanks for this. We just never implemented it but the version in master will now return the trailing text. See that link for some examples.