rurseekatze / ice-portal-speed-logger

Tool for logging the speed of German ICE trains using the REST API of the "ICE Portal"
Do What The F*ck You Want To Public License
14 stars 4 forks source link

Simplify newline in log #6

Closed dicer closed 8 years ago

dicer commented 8 years ago

On my system echo does not interpret the \n char and it is printed to the file as is. This leads to other errors when converting later. Usually -e would be used, but that is also not available on every system from what I read. echo without any param does the trick for me though.