|
|
|
|
|
by viraptor
2122 days ago
|
|
Not quite. "<(cmd1)" creates a pipe, connects cmd1 output to it and replaces the expression the pipe name. With one argument you can often use "cmd1 | cmd2 /dev/stdin", but with two you need something better. Think "diff <(something) <(other)" without using temporary files. |
|
However this can be fragile in bash script since any sub shell command can fail. I am still wandering how to support it in this rust_cmd_lib library.