Skip to content

Instantly share code, notes, and snippets.

@yuba
Created June 21, 2017 10:54
Show Gist options
  • Save yuba/7255bf0c9d85250da8c8f83d2958fc58 to your computer and use it in GitHub Desktop.
Save yuba/7255bf0c9d85250da8c8f83d2958fc58 to your computer and use it in GitHub Desktop.
本当に比較して一致したのか不安な人向けdiff ref: http://qiita.com/yuba/items/668131a54c91788d207a
#!/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