!DIFF ! 使い方 > diff -BbwEu ./old.txt ./new.txt > diff -BbwEy ./old.txt ./new.txt !オプション -c context diff 形式の出力をする。 -u unified diff 形式の出力をする。 -e ed diff 形式の出力をする。普通は使わない。 -r ディレクトリを比較したとき、その下のサブディレクトリを再帰的にたどる。 -a テキストファイルとして比較する。 -b 空白・タブの数の違いを無視する。 -i 大文字・小文字の違いを無視する。 -B 空行のある・なしの違いを無視する。 -y 2つのファイルを、横に並べて表示する。 注意:-W オプションで横幅を指定 -W -y オプションを付けたときの、横幅を指定。 ! 一覧表示 > diff ./DPI300.txt ./DPI600.txt -y --suppress-common-lines ! 印刷 > diff -BbwEy ./file.orig ./file.work | a2ps -M A4 -L 80 -l 125 -r --output=P.ps ## > diff -BbwEy ./file.orig ./file.work | a2ps -L 80 -l 125 -r --output=P.ps ! Python tools pip install icdiff !Tips https://www.atmarkit.co.jp/ait/articles/1704/21/news016.html