Southeast Scotland Coast Path
Southeast Scotland is one of the best UK regions to walk by rail, with 24 stations well-spaced along it.
The spreadsheet below gives some more information with links to downloadable gpx files.
Note that the distances between stations are approximate - they have been estimated using a mapping app.