mirror of the now-defunct rocklinux.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
657 B

  1. Hm. I find the resulting output a bit unlogic - but it is exactly the same
  2. with the old options and an old sort. So this "chaotic" sort might have
  3. been intended - or always been buggy ...
  4. - Rene Rebe <rene@rocklinux.org>
  5. --- pdksh-5.2.14/siglist.sh.orig 1996-09-18 18:52:41.000000000 +0200
  6. +++ pdksh-5.2.14/siglist.sh 2004-05-05 02:41:53.000000000 +0200
  7. @@ -23,7 +23,7 @@
  8. { QwErTy SIG\1 , "\1", "\2" },\
  9. #endif/') > $in
  10. $CPP $in > $out
  11. -sed -n 's/{ QwErTy/{/p' < $out | awk '{print NR, $0}' | sort +2n +0n |
  12. +sed -n 's/{ QwErTy/{/p' < $out | awk '{print NR, $0}' | sort -n -k 2 |
  13. sed 's/^[0-9]* //' |
  14. awk 'BEGIN { last=0; nsigs=0; }
  15. {