11

<(commands ...)bash/zsh では、出力動作をファイルとして行います。POSIX に相当するものは存在しますか?

4

1 に答える 1

13
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 ... )
于 2016-08-05T19:14:41.040 に答える