Commit | Line | Data |
---|---|---|
b4588d5c GP |
1 | From ca61a385c7685e0470fb6b140439113fcdc9e74c Mon Sep 17 00:00:00 2001 |
2 | From: Shai Rosenfeld <shaiguitar@gmail.com> | |
3 | Date: Wed, 30 Sep 2009 18:50:32 +0000 | |
4 | Subject: [PATCH] dnstracesort.sh: don't use deprecated "+number" sort(1) option | |
5 | ||
6 | dnstracesort contained the line "sort -t: +0 -2 +4 +3 -4 +2 -3" which | |
7 | uses the depracated sort field selection. This commit changes the | |
8 | options to "-k": "sort -t: -k 1,3 -k 5 -k 4,5 -k 3,4". | |
9 | --- | |
10 | dnstracesort.sh | 2 +- | |
11 | 1 files changed, 1 insertions(+), 1 deletions(-) | |
12 | ||
13 | diff --git a/dnstracesort.sh b/dnstracesort.sh | |
14 | index e57359c..108ef2f 100644 | |
15 | --- a/dnstracesort.sh | |
16 | +++ b/dnstracesort.sh | |
17 | @@ -12,7 +12,7 @@ awk -F: ' | |
18 | } | |
19 | ||
20 | } | |
21 | -' | sort -t: +0 -2 +4 +3 -4 +2 -3 | uniq | awk -F: ' | |
22 | +' | sort -t: -k 1,3 -k 5 -k 4,5 -k 3,4 | uniq | awk -F: ' | |
23 | { | |
24 | type = $1 | |
25 | q = $2 | |
26 | -- | |
27 | 1.6.0.3 | |
28 |