From d783d6574f2d34af58e58b8869663e0ff93eb3c6 Mon Sep 17 00:00:00 2001 From: earthlng Date: Tue, 27 Nov 2018 01:31:16 +0000 Subject: [PATCH] Update updater.sh --- updater.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/updater.sh b/updater.sh index 038e59b..66796d3 100755 --- a/updater.sh +++ b/updater.sh @@ -317,7 +317,7 @@ update_userjs () { remove_comments user.js $current_nocomments diffname="userjs_diffs/diff_$(date +"%Y-%m-%d_%H%M").txt" - diff=$(sdiff -s -w 1000 $past_nocomments $current_nocomments) + diff=$(diff -B -d -y -W 1000 --suppress-common-lines $past_nocomments $current_nocomments) if [ ! -z "$diff" ]; then local leasttabs=999999 while read -r; do