And*_*imm 12 ipc mingw msys msysgit
在我的msysgit版本下,我无法使用进程替换.
cat <(echo 'foo')
sh.exe": cannot make pipe for process substitution: Function not implemented
Run Code Online (Sandbox Code Playgroud)
如果我升级到最新版本的msysgit,它的msys/mingw版本是否能够处理进程替换?
我当前版本的msysgit是1.7.0.2.msysgit.0,GNU bash是版本3.1.0(3)-release(i686-pc-msys).
Yur*_*dow 10
害怕这仍然是1.7.6.msysgit.0,它有Bash 3.1.0(1).
bash-3.1$ bash --version
bash --version
GNU bash, version 3.1.0(1)-release (i686-pc-msys)
Copyright (C) 2005 Free Software Foundation, Inc.
bash-3.1$ cat <(echo 'foo')
cat <(echo 'foo')
bash: cannot make pipe for process substitution: Function not implemented
Run Code Online (Sandbox Code Playgroud)
使用Git 2.5.0还可以更新Bash:
$ bash --version
GNU bash, version 4.3.39(3)-release (x86_64-pc-msys)
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
Run Code Online (Sandbox Code Playgroud)
所以,现在你的命令工作正常:
$ cat <(echo 'foo')
foo
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
1368 次 |
| 最近记录: |