Sample Header Ad - 728x90

Uniq won't remove duplicate

21 votes
3 answers
25742 views
I was using the following command curl -silent http://api.openstreetmap.org/api/0.6/relation/2919627 http://api.openstreetmap.org/api/0.6/relation/2919628 | grep node | awk '{print $3}' | uniq when I wondered why uniq wouldn't remove the duplicates. Any idea why ?
Asked by Matthieu Riegler (535 rep)
Feb 8, 2014, 02:41 AM
Last activity: Aug 1, 2022, 07:29 PM