Created
June 21, 2017 10:54
-
-
Save yuba/7255bf0c9d85250da8c8f83d2958fc58 to your computer and use it in GitHub Desktop.
本当に比較して一致したのか不安な人向けdiff ref: http://qiita.com/yuba/items/668131a54c91788d207a
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
#!/usr/bin/env bash | |
diff\ | |
<(tee <$1 >(echo 左側:`wc -l`行>&2)) \ | |
<(tee <$2 >(echo 右側:`wc -l`行>&2)) &&\ | |
echo 一致しました>&2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment