mirror of
https://github.com/chubin/cheat.sh.git
synced 2026-06-20 13:16:44 +02:00
Pipe colored diffs
This commit is contained in:
+1
-1
@@ -82,7 +82,7 @@ while read -r number test_line; do
|
||||
eval "curl -s $CHTSH_URL/$test_line" > "$TMP"
|
||||
fi
|
||||
|
||||
if ! diff -u3 results/"$number" "$TMP" > "$TMP2"; then
|
||||
if ! diff -u3 --color=always results/"$number" "$TMP" > "$TMP2"; then
|
||||
if [ "$show_details" = YES ]; then
|
||||
cat "$TMP2"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user