Ticket #13165: patch-siglist.sh

File patch-siglist.sh, 370 bytes (added by rwilcox (Ryan Wilcox), 17 years ago)

patch for files/ to change sort command

Line 
1--- siglist_orig.sh     2007-11-05 13:13:30.000000000 -0500
2+++ siglist.sh  2007-11-05 18:43:43.000000000 -0500
3@@ -24,5 +24,5 @@
4 #endif/') > $in
5 $CPP $in  > $out
6-sed -n 's/{ QwErTy/{/p' < $out | awk '{print NR, $0}' | sort +2n +0n |
7+sed -n 's/{ QwErTy/{/p' < $out | awk '{print NR, $0}' | sort -k 3n -k 1 |
8     sed 's/^[0-9]* //' |
9     awk 'BEGIN { last=0; nsigs=0; }