From: paul Date: Mon, 15 Jun 2015 00:44:32 +0000 (+0000) Subject: fix extra whitespace bug X-Git-Url: https://git.plutz.net/?a=commitdiff_plain;h=9158a331ff59327f9ce34945fe0275a56cad36b3;p=busy fix extra whitespace bug svn path=/trunk/; revision=67 --- diff --git a/pages/Subversion.sh b/pages/Subversion.sh index 5692d56..c771ee0 100755 --- a/pages/Subversion.sh +++ b/pages/Subversion.sh @@ -59,8 +59,9 @@ svn_showurl(){ lang=txt \ || lang=$( source-highlight --lang-list \ - | grep -o "^${url##*.} " || echo sh + | grep -o "^${url##*.} " || echo sh ) + lang="${lang% }" svn cat -r "$rev" "${baseuri}/${url}" \ | source-highlight -s "$lang" fi