[texworks] minor problem of getSvnRev.sh

Atsuhito Kohda kohda at pm.tokushima-u.ac.jp
Mon Aug 22 03:01:57 CEST 2011


Hi all,

In my Debian system with LANG=ja_JP.UTF-8, getSvnRev.sh
doesn't work correctly.
In fact there is a line
REV=`svn info | fgrep Revision: | cut -d ' ' -f 2`
but under LANG=ja_JP.UTF-8 it doesn't work as follows.
$ svn info | fgrep Revision: | cut -d ' ' -f 2
$

This is apparent because (sorry but you see many japanese 
characters in the following so you might need some extra 
settings to display them correctly)
$ svn info
パス: .
URL: http://texworks.googlecode.com/svn/trunk
リポジトリのルート: http://texworks.googlecode.com/svn
リポジトリ UUID: 9a2a4a0b-1251-0410-9248-99fc04669920
リビジョン: 930
ノード種別: ディレクトリ
準備中の処理: 特になし
最終変更者: st.loeffler at gmail.com
最終変更リビジョン: 929
最終変更日時: 2011-08-02 03:56:31 +0900 (火, 02  8月 2011)

and there is no string "Revision" in the above output.
I believe it is necessary to refine getSvn.sh a bit. 
(this is not ja_JP.UTF-8 specific but the same problem
with many other LANG also.)

Best regards,		     2011-8-22(Mon)

-- 
 Debian Developer - much more I18N of Debian
 Atsuhito Kohda <kohda AT debian.org>
 Department of Math., Univ. of Tokushima


More information about the texworks mailing list