diff options
author | Rodrigo Osorio <rodrigo@FreeBSD.org> | 2014-02-18 08:44:28 +0000 |
---|---|---|
committer | Rodrigo Osorio <rodrigo@FreeBSD.org> | 2014-02-18 08:44:28 +0000 |
commit | 66735958b60128f80d469471a2b8e7e19cdd387d (patch) | |
tree | ce9f6630cff7781e2ad0c318a2d17546decf01f4 /shells/pdksh/files | |
parent | d30a40b1cebbf6821d4d828f126e0ebeeac22faf (diff) | |
download | ports-66735958b60128f80d469471a2b8e7e19cdd387d.tar.gz ports-66735958b60128f80d469471a2b8e7e19cdd387d.zip |
Notes
Diffstat (limited to 'shells/pdksh/files')
-rw-r--r-- | shells/pdksh/files/patch-siglist.sh | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/shells/pdksh/files/patch-siglist.sh b/shells/pdksh/files/patch-siglist.sh new file mode 100644 index 000000000000..924097af104b --- /dev/null +++ b/shells/pdksh/files/patch-siglist.sh @@ -0,0 +1,11 @@ +--- siglist.sh 2014-02-12 11:26:07.000000000 +0100 ++++ siglist.sh 2014-02-12 11:26:22.000000000 +0100 +@@ -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 -k3n -k1n | + sed 's/^[0-9]* //' | + awk 'BEGIN { last=0; nsigs=0; } + { |