Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/bin/ksh s/sed/${SED}/
details: https://anonhg.NetBSD.org/src/rev/77a2ffbfb03a
branches: trunk
changeset: 344232:77a2ffbfb03a
user: christos <christos%NetBSD.org@localhost>
date: Thu Mar 17 13:59:02 2016 +0000
description:
s/sed/${SED}/
diffstat:
bin/ksh/siglist.sh | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (19 lines):
diff -r 320a9582ed17 -r 77a2ffbfb03a bin/ksh/siglist.sh
--- a/bin/ksh/siglist.sh Thu Mar 17 13:54:31 2016 +0000
+++ b/bin/ksh/siglist.sh Thu Mar 17 13:59:02 2016 +0000
@@ -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 @@
{ 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]* //' |
Home |
Main Index |
Thread Index |
Old Index