{"issue":{"state":"closed","created_at":"2011-11-23T01:24:15Z","updated_at":"2011-11-23T13:59:02Z","comments":2,"user":{"gravatar_id":"97296a20d14bf2a1d6285fbdf33f8279","id":554281,"url":"https://api.github.com/users/syohex","login":"syohex","avatar_url":"https://secure.gravatar.com/avatar/97296a20d14bf2a1d6285fbdf33f8279?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"body":"Output of Bash '--version' option depends on locale.\r\nIts output is following on Japanese platform\r\n\r\n> % bash --version\r\n>GNU bash, バージョン 4.2.10(1)-release (x86_64-pc-linux-gnu)\r\n>Copyright (C) 2011 Free Software Foundation, Inc.\r\n>ライセンス GPLv3+: GNU GPL バージョン 3 またはそれ以降 <http://gnu.org/licenses/gpl.html>\r\n>\r\n>This is free software; you are free to change and redistribute it.\r\n>There is NO WARRANTY, to the extent permitted by law.\r\n\r\nThis output does not match 'qr{\\bbash\\b.* version (.*)})'.\r\nI use latest bash, but test's are failed.\r\n\r\nI suggest you that using Bash's environment variable $BASH_VERSION\r\nor $BASH_VERSINFO, or setting locale English($ENV{LANG} = 'c'} in your test program.\r\n\r\nMy patch is using $BASH_VERSION.\r\n\r\nThanks\r\n","assignee":null,"id":2325469,"number":1,"pull_request":{"patch_url":"https://github.com/mca-wtsi/psst/pull/1.patch","html_url":"https://github.com/mca-wtsi/psst/pull/1","diff_url":"https://github.com/mca-wtsi/psst/pull/1.diff"},"labels":[],"title":"Checking bash version with using '--version' option depends on locale","closed_at":"2011-11-23T09:30:16Z","html_url":"https://github.com/mca-wtsi/psst/issues/1","milestone":null,"url":"https://api.github.com/repos/mca-wtsi/psst/issues/1"},"action":"created","comment":{"created_at":"2011-11-23T13:59:02Z","updated_at":"2011-11-23T13:59:02Z","user":{"gravatar_id":"97296a20d14bf2a1d6285fbdf33f8279","id":554281,"url":"https://api.github.com/users/syohex","login":"syohex","avatar_url":"https://secure.gravatar.com/avatar/97296a20d14bf2a1d6285fbdf33f8279?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"body":"Sorry I have not used this module yet.","id":2848896,"url":"https://api.github.com/repos/mca-wtsi/psst/issues/comments/2848896"}}