Page MenuHomePhabricator

Remove ^M from logs
Closed, DeclinedPublic

Description

osm2pgsql outputs tons of ^M symbols into logs. We apparently can handle them with this:
http://stackoverflow.com/questions/16319179/realtime-removal-of-carriage-return-in-shell

this didn't work:

cat logfile | gawk '1;{fflush()}' RS='\r\n' > log.txt

Related Objects

StatusAssignedTask
DeclinedNone
DeclinedNone

Event Timeline

Yurik created this task.Jun 7 2016, 8:10 PM
Restricted Application added a subscriber: Zppix. · View Herald TranscriptJun 7 2016, 8:10 PM
Yurik updated the task description. (Show Details)Jun 7 2016, 9:07 PM
Yurik moved this task from All map-related tasks to Tilerator on the Maps board.Jun 12 2016, 3:12 AM
Yurik moved this task from Tilerator to Maps-data on the Maps board.Jun 26 2016, 8:14 PM
Yurik removed a project: Maps.Dec 15 2016, 4:22 AM
Mholloway closed this task as Declined.Jul 31 2018, 4:33 PM
Mholloway added a subscriber: Mholloway.

We don't typically use these logs; probably not worth the effort.