How to produce ascii file from coast

Is it possible to get some ascii text (vectors with some step)
from coast line and rivers
Following code asked me abou some system data
gmt begin map
gmt coast -R25.5/45.5/34.5/42.5 -JM6i -Gwhite -S0/200/255 -U -I9/0/0/255 -I1/0/0/255 -I2/0/0/255 -B | convert >some.data
gmt end show

See the purpose of the -M option in coast which will dump ascii data to stdout and make no plot.