From c0b2f23c46abe01cc32ee1f7cd120d9f00790050 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Sun, 18 Sep 1994 08:19:12 +0000 Subject: [PATCH] (parsing options): Simplify sed command to delete -'s. --- configure1.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure1.in b/configure1.in index 640d5264918..3f3e53c5d8b 100755 --- a/configure1.in +++ b/configure1.in @@ -166,7 +166,7 @@ while [ $# != 0 ]; do ## If FOO is a boolean argument, --FOO is equivalent to ## --FOO=yes. Otherwise, the value comes from the next ## argument - see below. - opt=`echo ${arg} | sed 's:^-*\(.*\)$:\1:'` + opt=`echo ${arg} | sed 's:^-*::'` val="yes" valomitted=yes ;; -- 2.39.5