Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/bin/sh Make $- list flags in the same order they appear in s...
details: https://anonhg.NetBSD.org/src/rev/4806c73012ec
branches: trunk
changeset: 354836:4806c73012ec
user: kre <kre%NetBSD.org@localhost>
date: Sat Jul 01 06:14:51 2017 +0000
description:
Make $- list flags in the same order they appear in sh(1)
diffstat:
bin/sh/mkoptions.sh | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (20 lines):
diff -r db7f58ae1fe8 -r 4806c73012ec bin/sh/mkoptions.sh
--- a/bin/sh/mkoptions.sh Sat Jul 01 05:50:10 2017 +0000
+++ b/bin/sh/mkoptions.sh Sat Jul 01 06:14:51 2017 +0000
@@ -1,6 +1,6 @@
#! /bin/sh
-# $NetBSD: mkoptions.sh,v 1.3 2017/06/19 02:43:55 kre Exp $
+# $NetBSD: mkoptions.sh,v 1.4 2017/07/01 06:14:51 kre Exp $
#
# It would be more sensible to generate 2 .h files, one which
@@ -158,7 +158,7 @@
printf '%s _SH_OPT_%s %s\n' "${chr}" "${var}" "${COND}"
-done 4>>"${OF}" | sort -t' ' -k1,1f -k1,1r | while read chr index COND
+done 4>>"${OF}" | sort -t' ' -k1,1f -k1,1 | while read chr index COND
do
if $FIRST
then
Home |
Main Index |
Thread Index |
Old Index