Module Name:    src
Committed By:   christos
Date:           Thu Mar 17 13:59:02 UTC 2016

Modified Files:
        src/bin/ksh: siglist.sh

Log Message:
s/sed/${SED}/


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/bin/ksh/siglist.sh

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/bin/ksh/siglist.sh
diff -u src/bin/ksh/siglist.sh:1.11 src/bin/ksh/siglist.sh:1.12
--- src/bin/ksh/siglist.sh:1.11	Thu Mar 17 09:54:31 2016
+++ src/bin/ksh/siglist.sh	Thu Mar 17 09:59:02 2016
@@ -1,5 +1,5 @@
 #!/bin/sh
-#	$NetBSD: siglist.sh,v 1.11 2016/03/17 13:54:31 christos Exp $
+#	$NetBSD: siglist.sh,v 1.12 2016/03/17 13:59:02 christos Exp $
 #
 # Script to generate a sorted, complete list of signals, suitable
 # for inclusion in trap.c as array initializer.
@@ -26,7 +26,7 @@ CPP="${1-cc -E}"
 	{ QwErTy .signal = SIG\1 , .name = "\1", .mess = "\2" },\
 #endif/') > $in
 # work around for gcc 5
-$CPP $in | grep -v '^#' | tr -d '\n' | sed 's/},/},\
+$CPP $in | grep -v '^#' | tr -d '\n' | ${SED} 's/},/},\
 /g' > $out
 ${SED} -n 's/{ QwErTy/{/p' < $out | ${AWK} '{print NR, $0}' | sort -k 5n -k 1n |
     ${SED} 's/^[0-9]* //' |

Reply via email to