Closed alexprengere closed 11 years ago
Fixed with f9828821a7ea30598d67ba36fc58f7dc1f79678c. Now:
$ cat file.csv
NCE@1
NCE
NCE
$ cat file.csv | GeoBase -q -s __key__ H0
#__key__^H0
NCE@2^NCE
NCE@1^NCE@1
NCE^NCE
The generated duplicated key for the second NCE
was NCE@2
because NCE@1
was already taken.
The way duplicates are handled today, creating
key@nb
duplicated keys, makes the following behavior a bug.Suppose we have a file containing keys that are already formated with keys looking like duplicated keys:
Now pipe that into GeoBase:
There is a missing line from this output, because the third line created a duplicate for
NCE
, calledNCE@1
, which overrided the data for the first line: