mbloch / mapshaper

Tools for editing Shapefile, GeoJSON, TopoJSON and CSV files
http://mapshaper.org
Other
3.77k stars 535 forks source link

missing end-of-line #439

Open pavel-411 opened 4 years ago

pavel-411 commented 4 years ago

it looks to me than there is missing end-of-line for the last record for at least in TSV output file - there is just end-of-file but no end-of-line for the last line

mbloch commented 4 years ago

According to RFC-4180, "The last record in the file may or may not have an ending line break." (https://tools.ietf.org/html/rfc4180). Is the missing EOL causing problems in a program that you're using?

pavel-411 commented 4 years ago

Thanks a lot for quick response. Yup - we use bash scripts which as we have found not working properly. It’s possible to modify them - i just didn’t know it’s correct behavior, I thought it should be there. Have a nice day/evening :-) Pavel

Sent from mobile

On 6. 10. 2020, at 19:48, Matthew Bloch notifications@github.com wrote:

 According to RFC-4180, "The last record in the file may or may not have an ending line break." (https://tools.ietf.org/html/rfc4180). Is the missing EOL causing problems in a program that you're using?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.