difference between sh and bash when symlink is used

寵の児 提交于 2019-11-29 11:30:06
William Pursell

When invoked as sh, bash enters posix mode after the startup files are read. Process substitution is not recognized in posix mode. According to posix, <(foo) should direct input from the file named (foo). (Well, that is, according to my reading of the standard. The grammar is ambiguous in many places.)

EDIT: From the bash manual:

The following list is what’s changed when ‘POSIX mode’ is in effect:
...
Process substitution is not available.
标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!