summaryrefslogtreecommitdiff
path: root/bin/filter-build-logs
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2017-10-22 13:21:10 +0200
committerErich Eckner <git@eckner.net>2017-10-22 13:21:10 +0200
commit0ad4887c5db500e1118e1b6ecae1aec2a9ff3732 (patch)
tree6f35103173bc55890a0e7fea688c871f0700af8e /bin/filter-build-logs
parent7a404794defc0ed4e2b07a938f571899f61c93f9 (diff)
downloadbuilder-0ad4887c5db500e1118e1b6ecae1aec2a9ff3732.tar.xz
bin/filter-build-logs: sort more intelligently
Diffstat (limited to 'bin/filter-build-logs')
-rwxr-xr-xbin/filter-build-logs1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/filter-build-logs b/bin/filter-build-logs
index ac4f940..c139f9b 100755
--- a/bin/filter-build-logs
+++ b/bin/filter-build-logs
@@ -29,6 +29,7 @@
s/^./\0 /
' | \
sort -u | \
+ sort -k2,2 -k3,3 -k1,1 -k4 | \
while read -r a b c d; do
c="${c%:}"
if [ "${c}" = 'E' ]; then