LoginSignup
5
5

More than 5 years have passed since last update.

Mac OS X + Zsh でプロセス置換

Posted at

メモ。
Mac OS X + Zsh でプロセス置換しようとしたらこんなエラー。

diff -u <(command1) <(command2)
error: /dev/fd/11: unsupported file type
fatal: cannot hash /dev/fd/11

<()=() に置き換えれば良いのかしら。

diff -u =(command1) =(command2)

うまくいった。
捗れ。

参照
https://www.reddit.com/r/commandline/comments/2xig13/handy_bash_feature_process_substitution_xpost/

5
5
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
5
5