Easy way to compare files in bash… Published January 27, 2016 | By penrod This will list only those entries in file2 that are not in file1. diff file2 file1 | grep ‘^>’ | sed ‘s/^>\ //’ Leave a Reply Cancel replyYou must be logged in to post a comment.
Leave a Reply
You must be logged in to post a comment.