Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Mateusz Pawlik
ted-datasets
Commits
054e9128
Commit
054e9128
authored
Oct 23, 2018
by
Mateusz Pawlik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added the flag to use 4GB memory for sorting.
parent
b54bf946
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
utilities/sort_dataset.sh
utilities/sort_dataset.sh
+2
-3
No files found.
utilities/sort_dataset.sh
View file @
054e9128
...
...
@@ -31,6 +31,5 @@
#
# NOTE: We substract the escaped brackets because they're part of node labels.
#
cat
$input
|
awk
'{print gsub("{","{")-gsub("\\\\{","\\{"), $0}'
|
sort
-n
|
\
cut
-d
' '
-f2-
# > "${1%.bracket}_sorted.bracket"
cat
$input
|
awk
'{print gsub("{","{")-gsub("\\\\{","\\{"), $0}'
|
\
sort
-n
--buffer-size
=
4G |
cut
-d
' '
-f2-
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment