cooler
authorThorsten Glaser <tg@mirbsd.org>
Thu, 5 Jun 2014 20:15:30 +0000 (20:15 +0000)
committerThorsten Glaser <tg@mirbsd.org>
Thu, 5 Jun 2014 20:15:30 +0000 (20:15 +0000)
mksh/profile-funcs

index b2f4588..eab46bb 100644 (file)
@@ -7,7 +7,7 @@ xv() {
                    -e 's!http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd!file:///usr/src/www/mk/xhtml11.dtd!g' \
                    <"$i" | xmlstarlet val -e -d file:///usr/src/www/mk/xhtml11.dtd -)
                (( rv |= $? ))
-               print -r -- "$i $s"
+               print -r -- "$i ${s#- }"
        done
        return $rv
 }