From 9c9fb684e0c61f2eb4f2c4b5a09fa1dd6ae73a61 Mon Sep 17 00:00:00 2001 From: christos Date: Thu, 17 Mar 2016 13:59:02 +0000 Subject: [PATCH] s/sed/${SED}/ --- bin/ksh/siglist.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/ksh/siglist.sh b/bin/ksh/siglist.sh index 915dce5854be..a627a3d0ff94 100755 --- a/bin/ksh/siglist.sh +++ b/bin/ksh/siglist.sh @@ -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]* //' |