Skip to content
Snippets Groups Projects
Commit 8cddda47 authored by Lionel GUEZ's avatar Lionel GUEZ
Browse files

Bug fix: sort on field 1

The correct syntax to sort on field 1 is `--key=1,1`. `--key=1` used
as key from field 1 to the end of the line. So the key was non-numeric.
parent 2f4b8fef
No related branches found
No related tags found
No related merge requests found
......@@ -26,7 +26,7 @@ done
# Sort the edge list for easier comparison between runs:
export LC_NUMERIC=C # for the sort command
sort --key=1 --numeric-sort --output=edgelist.csv edgelist_unsorted.csv
sort --key=1,1 --numeric-sort --output=edgelist.csv edgelist_unsorted.csv
rm edgelist_unsorted.csv
echo "Created files \"edgelist.csv\", \"isolated_nodes.txt\" and " \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment