hi,
i have googled around this but didn`t find any solution. I am trying to get some coordinates from a website using grep. Copied html source from a website to a txt file and i grep this file with
Code:
grep -o "(-?[0-9]{2,3}\.[0-9]+), -?([0-9]){2,3}\.([0-9])+" baltimore.txt
the result printed on terminal is as expected,well formed long/lat coordinates, but when i redirect output to a csv or txt file i get this
Code:
[01;31m[K39.29234400000 -76.57470350000[m[K
[01;31m[K39.31975300000 -76.61237900000[m[K
[01;31m[K39.31537620000 -76.61709370000[m[K
[01;31m[K39.33807260000 -76.60753880000[m[K
[01;31m[K39.35307750000 -76.70132740000[m[K
the website is
this
can anyone explain why do these characters come up and how can i get rid of them when i redirect output to a file?