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

Simplify

parent acdc28ae
No related branches found
No related tags found
No related merge requests found
...@@ -28,10 +28,8 @@ done ...@@ -28,10 +28,8 @@ done
export LC_NUMERIC=C # for the sort command export LC_NUMERIC=C # for the sort command
cat >edgelist.csv <<EOF sort --key=1 --numeric-sort --output=edgelist.csv edgelist_no_header.csv
$(sort --key=1 --numeric-sort edgelist_no_header.csv) rm edgelist_no_header.csv
EOF
rm edgelist_no_header.csv
echo "Created files \"edgelist.csv\", \"isolated_nodes.txt\" and " \ echo "Created files \"edgelist.csv\", \"isolated_nodes.txt\" and " \
"\"node_id_param.json\"." "\"node_id_param.json\"."
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment