$ diff -u file1 file2
変更の無い行も全部表示したいとき
$ diff --new-line-format='+%L' --old-line-format='-%L' --unchanged-line-format=' %L' file1 file2
Go to list of users who liked
Share on X(Twitter)
Share on Facebook
More than 5 years have passed since last update.
$ diff -u file1 file2
変更の無い行も全部表示したいとき
$ diff --new-line-format='+%L' --old-line-format='-%L' --unchanged-line-format=' %L' file1 file2
Register as a new user and use Qiita more conveniently
Go to list of users who liked