Skip to content

Instantly share code, notes, and snippets.

@yoshikaw
Created March 4, 2011 04:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yoshikaw/854169 to your computer and use it in GitHub Desktop.
Save yoshikaw/854169 to your computer and use it in GitHub Desktop.
bashでプログラムの実行結果のdiff3を取ってみたが、何か期待値と違うけどよく分からん…
diff3 hoge.txt fuga.txt piyo.txt
====
1:1c
hoge
2:1c
fuga
3:1c
piyo
diff3 <(echo hoge) <(echo fuga) <(echo piyo)
====
1:1,2c
hoge
piyo
2:1c
fuga
3:1c
piyo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment