[Swift-commit] r2648 - log-processing/libexec/log-processing
noreply at svn.ci.uchicago.edu
noreply at svn.ci.uchicago.edu
Mon Mar 9 03:28:44 CDT 2009
Author: benc
Date: 2009-03-09 03:28:43 -0500 (Mon, 09 Mar 2009)
New Revision: 2648
Modified:
log-processing/libexec/log-processing/sort-preserve
Log:
Change sort invocation to be more posixy
Modified: log-processing/libexec/log-processing/sort-preserve
===================================================================
--- log-processing/libexec/log-processing/sort-preserve 2009-03-08 22:11:03 UTC (rev 2647)
+++ log-processing/libexec/log-processing/sort-preserve 2009-03-09 08:28:43 UTC (rev 2648)
@@ -12,7 +12,7 @@
I=$(( $I + 1 ))
done > sort-preserve.tmp
-sort $@ -n +0f -2 < sort-preserve.tmp > sort-preserve2.tmp
+sort $@ -n -k 1f,3 < sort-preserve.tmp > sort-preserve2.tmp
sed 's/^\([^ ]*\) \([^ ]*\) \([^ ]*\)\(.*\)/\1 \2\4/' < sort-preserve2.tmp
More information about the Swift-commit
mailing list