shortuser should stop before the first space character.
Examples:
"Foo Bar <foo.bar AT example DOT com>" -> "foo.bar"
(instead of "foo.bar AT example DOT com>" as it was before.)
"Foo Bar" -> "Foo"
#!/bin/shecho 'syntax error' > badext.pyabspath=`pwd`/badext.pyecho '[extensions]' >> $HGRCPATHecho "badext = $abspath" >> $HGRCPATHhg -q help help