From: Richard M. Stallman Date: Sun, 18 Sep 1994 08:19:12 +0000 (+0000) Subject: (parsing options): Simplify sed command to delete -'s. X-Git-Tag: emacs-19.34~6984 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=c0b2f23c46abe01cc32ee1f7cd120d9f00790050;p=emacs.git (parsing options): Simplify sed command to delete -'s. --- 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 ;;