Imported Debian patch 1:1.05-8
[hcoop/zz_old/debian/djbdns.git] / debian / diff / 0003-dnstracesort.sh-don-t-use-deprecated-number-sort.diff
CommitLineData
b4588d5c
GP
1From ca61a385c7685e0470fb6b140439113fcdc9e74c Mon Sep 17 00:00:00 2001
2From: Shai Rosenfeld <shaiguitar@gmail.com>
3Date: Wed, 30 Sep 2009 18:50:32 +0000
4Subject: [PATCH] dnstracesort.sh: don't use deprecated "+number" sort(1) option
5
6dnstracesort contained the line "sort -t: +0 -2 +4 +3 -4 +2 -3" which
7uses the depracated sort field selection. This commit changes the
8options 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
13diff --git a/dnstracesort.sh b/dnstracesort.sh
14index e57359c..108ef2f 100644
15--- a/dnstracesort.sh
16+++ b/dnstracesort.sh
17@@ -12,7 +12,7 @@ awk -F: '
18 }
19 print
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--
271.6.0.3
28