Commit c0b2f23c authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(parsing options): Simplify sed command to delete -'s.

parent d05c42e4
......@@ -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
;;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment