summaryrefslogtreecommitdiff
blob: 63fec06dd824880fa14c10be384072327e2266be (plain)
1
2
3
4
5
6
7
8
9
10
11
--- pdksh-5.2.14-ori/siglist.sh	1996-09-18 18:52:41.000000000 +0200
+++ pdksh-5.2.14/siglist.sh	2003-10-23 20:25:56.000000000 +0200
@@ -23,7 +23,7 @@
 	{ QwErTy SIG\1 , "\1", "\2" },\
 #endif/') > $in
 $CPP $in  > $out
-sed -n 's/{ QwErTy/{/p' < $out | awk '{print NR, $0}' | sort +2n +0n |
+sed -n 's/{ QwErTy/{/p' < $out | awk '{print NR, $0}' | sort -n -k 3,3 -k 1,1 |
     sed 's/^[0-9]* //' |
     awk 'BEGIN { last=0; nsigs=0; }
 	{