当我运行 git 命令时,我注意到我收到了一个完全不相关的程序的奇怪消息,即 threadscope,我用它来获取我的并行 Haskell 程序的信息。
git stash
': not a valid identifier/threadscope-0.2.2/bin/gettext.sh: line 90: export: `dashless
': not a valid identifier/threadscope-0.2.2/bin/gettext.sh: line 90: export: `USAGE
': not a valid identifier/threadscope-0.2.2/bin/gettext.sh: line 90: export: `stash_msg
我不确定是什么原因造成的。这似乎是良性的,但它有点烦人。它似乎与程序“gettext.exe”有关,但我无法在网上找到有关它的作用的信息。
gettext.sh 中的第 90 行是
eval_gettext () {
gettext "$1" | (export PATH `envsubst --variables "$1"`; envsubst "$1")
}
有人可以帮助我以正确的方式摆脱这些消息吗?
我正在使用 Window 10。我通过从https://wiki.haskell.org/ThreadScope#Installing_ThreadScope下载二进制文件并将它们放在我的程序文件文件夹中来安装 threadscope。