问题
<(commands ...)
in bash/zsh makes the output behavior as a file.
Does a POSIX equivalent exist?
回答1:
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
is the closest available equivalent to
something_else <( commands ... )
来源:https://stackoverflow.com/questions/38796224/posix-shell-equivalent-to