POSIX shell 相当于 <()
POSIX shell equivalent to <()
<(commands ...)
in bash/zsh 将输出行为作为一个文件。
是否存在 POSIX 等价物?
mkfifo foo.fifo
## if your "commands" is multiple commands
# { commands ...; } >foo.fifo &
# otherwise, if it's just one
commands ... >foo.fifo &
something_else foo.fifo
最接近
something_else <( commands ... )
<(commands ...)
in bash/zsh 将输出行为作为一个文件。
是否存在 POSIX 等价物?
mkfifo foo.fifo
## if your "commands" is multiple commands
# { commands ...; } >foo.fifo &
# otherwise, if it's just one
commands ... >foo.fifo &
something_else foo.fifo
最接近
something_else <( commands ... )