Commit 054e9128 authored by Mateusz Pawlik's avatar Mateusz Pawlik

Added the flag to use 4GB memory for sorting.

parent b54bf946
...@@ -31,6 +31,5 @@ ...@@ -31,6 +31,5 @@
# #
# NOTE: We substract the escaped brackets because they're part of node labels. # NOTE: We substract the escaped brackets because they're part of node labels.
# #
cat $input | awk '{print gsub("{","{")-gsub("\\\\{","\\{"), $0}' | sort -n | \ cat $input | awk '{print gsub("{","{")-gsub("\\\\{","\\{"), $0}' | \
cut -d' ' -f2- sort -n --buffer-size=4G | cut -d' ' -f2-
# > "${1%.bracket}_sorted.bracket"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment