+Sat May 30 21:01:06 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
+
+ * config.sub (basic_machine): fix sed so that '-foo' isn't
+ completely substituted out while .+'-foo' loses the '-foo'
+
Thu May 28 19:48:35 1992 Michael Tiemann (tiemann@rtl.cygnus.com)
* .Sanitize: Add flex to the list of keepers. flex is needed to
esac
# Separate what the user gave into CPU-COMPANY and OS (if any).
-basic_machine=`echo $1 | sed 's/-[^-]*$//'`
+basic_machine=`echo $1 | sed 's/-[^-]+$//'`
if [ $basic_machine != $1 ]
then os=`echo $1 | sed 's/.*-/-/'`
else os=; fi