1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
|
[36mdiff --git a/2pdf.sh b/2pdf.sh
[0m[36mindex 529d8a3..ad71911 100755
[0m[33m--- a/2pdf.sh
[0m[33m+++ b/2pdf.sh
[0m[1;34m@@ -13,3 +13,5 @@ INPUT=${1:-foo.html}
[0m[0m OUTPUT=${INPUT%.html}.pdf
[0m[0m
[0m[0m wkhtmltopdf --page-size A4 $INPUT $OUTPUT # very very long comments ends here
[0m[32m+
[0m[32m+# EOF
[0m[36mdiff --git a/example.pdf b/example.pdf
[0m[36mindex 1eacfd8..3696851 100644
[0m[36mBinary files a/example.pdf and b/example.pdf differ
[0m[33m[0m[33m[0m[36mdiff --git a/foo.html b/foo.html
[0m[36mindex d2fd3fb..13afa6e 100644
[0m[33m--- a/foo.html
[0m[33m+++ b/foo.html
[0m[1;34m@@ -1,4 +1,4 @@
[0m[1;31m-[0m[31m[7m[31m<!doctype html>
[0m[31m[0m[32m+[0m[32m[7m[32m<!DOCTYPE html>
[0m[32m[0m[0m <html>
[0m[0m
[0m[0m <head>
[0m[36mdiff --git a/foo.pdf b/foo.pdf
[0m[36mindex 0e90017..3c3b90d 100644
[0m[36mBinary files a/foo.pdf and b/foo.pdf differ
[0m[33m[0m[33m[0m
|