Created
March 4, 2011 03:45
-
-
Save riywo/854138 to your computer and use it in GitHub Desktop.
bashでプログラムの実行結果のdiffを取りたい時
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff -u <(echo hoge) <(echo fuga) | |
--- /dev/fd/63 2011-03-04 12:44:34.176435837 +0900 | |
+++ /dev/fd/62 2011-03-04 12:44:34.176435837 +0900 | |
@@ -1 +1 @@ | |
-hoge | |
+fuga |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment