Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
14 changed files
with
263 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
diff -ru a/README b/README | ||
--- a/README 2013-02-23 19:51:41.000000000 +0800 | ||
+++ b/README 2013-02-23 19:52:06.000000000 +0800 | ||
@@ -1,6 +1,6 @@ | ||
-# To generate expected output, chdir to a subdir and use following command, then | ||
+# To generate expected output, cd to a subdir and use following command, then | ||
# review with `less -R` | ||
-# | ||
../../cdiff.py -c always < in.diff > out.normal | ||
../../cdiff.py -c always -s < in.diff > out.side-by-side | ||
../../cdiff.py -c always -s < in.diff -w70 > out.w70 | ||
+# EOF | ||
Binary files a/foo.pdf and b/foo.pdf differ | ||
diff -ru a/foo.txt b/foo.txt | ||
--- a/foo.txt 2013-02-23 19:55:03.000000000 +0800 | ||
+++ b/foo.txt 2013-02-23 19:55:10.000000000 +0800 | ||
@@ -1,2 +1,2 @@ | ||
-Hello | ||
+hella | ||
world |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
[36mdiff -ru a/README b/README | ||
[0m[33m--- a/README 2013-02-23 19:51:41.000000000 +0800 | ||
[0m[33m+++ b/README 2013-02-23 19:52:06.000000000 +0800 | ||
[0m[1;34m@@ -1,6 +1,6 @@ | ||
[0m[1;31m-[0m[31m# To generate expected output, c[7m[31mh[0m[31md[7m[31mir[0m[31m to a subdir and use following command, then | ||
[0m[1;32m+[0m[32m# To generate expected output, cd to a subdir and use following command, then | ||
[0m[0m # review with `less -R` | ||
[0m[1;31m-# | ||
[0m[0m ../../cdiff.py -c always < in.diff > out.normal | ||
[0m[0m ../../cdiff.py -c always -s < in.diff > out.side-by-side | ||
[0m[0m ../../cdiff.py -c always -s < in.diff -w70 > out.w70 | ||
[0m[1;32m+# EOF | ||
[0m[36mBinary files a/foo.pdf and b/foo.pdf differ | ||
[0m[33m[0m[33m[0m[36mdiff -ru a/foo.txt b/foo.txt | ||
[0m[33m--- a/foo.txt 2013-02-23 19:55:03.000000000 +0800 | ||
[0m[33m+++ b/foo.txt 2013-02-23 19:55:10.000000000 +0800 | ||
[0m[1;34m@@ -1,2 +1,2 @@ | ||
[0m[1;31m-[0m[31m[7m[31mHello | ||
[0m[31m[0m[1;32m+[0m[32m[7m[32mhella | ||
[0m[32m[0m[0m world | ||
[0m |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
[36mdiff -ru a/README b/README | ||
[0m[33m--- a/README 2013-02-23 19:51:41.000000000 +0800 | ||
[0m[33m+++ b/README 2013-02-23 19:52:06.000000000 +0800 | ||
[0m[1;34m@@ -1,6 +1,6 @@ | ||
[0m[33m1[0m [31m# To generate expected output, c[7m[31mh[0m[31md[7m[31mir[0m[31m to a subdir and use following command, then[0m [0m[33m1[0m [32m# To generate expected output, cd to a subdir and use following command, then[0m | ||
[33m2[0m [0m# review with `less -R`[0m [0m[33m2[0m [0m# review with `less -R`[0m | ||
[33m3[0m [1;31m#[0m [0m[33m [0m | ||
[33m4[0m [0m../../cdiff.py -c always < in.diff > out.normal[0m [0m[33m3[0m [0m../../cdiff.py -c always < in.diff > out.normal[0m | ||
[33m5[0m [0m../../cdiff.py -c always -s < in.diff > out.side-by-side[0m [0m[33m4[0m [0m../../cdiff.py -c always -s < in.diff > out.side-by-side[0m | ||
[33m6[0m [0m../../cdiff.py -c always -s < in.diff -w70 > out.w70[0m [0m[33m5[0m [0m../../cdiff.py -c always -s < in.diff -w70 > out.w70[0m | ||
[33m [0m [0m[33m6[0m [1;32m# EOF[0m | ||
[36mBinary files a/foo.pdf and b/foo.pdf differ | ||
[0m[33m[0m[33m[0m[36mdiff -ru a/foo.txt b/foo.txt | ||
[0m[33m--- a/foo.txt 2013-02-23 19:55:03.000000000 +0800 | ||
[0m[33m+++ b/foo.txt 2013-02-23 19:55:10.000000000 +0800 | ||
[0m[1;34m@@ -1,2 +1,2 @@ | ||
[0m[33m1[0m [31m[7m[31mHello[0m[31m[0m [0m[33m1[0m [32m[7m[32mhella[0m[32m[0m | ||
[33m2[0m [0mworld[0m [0m[33m2[0m [0mworld[0m |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
[36mdiff -ru a/README b/README | ||
[0m[33m--- a/README 2013-02-23 19:51:41.000000000 +0800 | ||
[0m[33m+++ b/README 2013-02-23 19:52:06.000000000 +0800 | ||
[0m[1;34m@@ -1,6 +1,6 @@ | ||
[0m[33m1[0m [31m# To generate expected output, c[7m[31mh[0m[31md[7m[31mir[0m[31m to a subdir and use following co[0m[1;35m>[0m [0m[33m1[0m [32m# To generate expected output, cd to a subdir and use following comma[0m[1;35m>[0m | ||
[33m2[0m [0m# review with `less -R`[0m [0m[33m2[0m [0m# review with `less -R`[0m | ||
[33m3[0m [1;31m#[0m [0m[33m [0m | ||
[33m4[0m [0m../../cdiff.py -c always < in.diff > out.normal[0m [0m[33m3[0m [0m../../cdiff.py -c always < in.diff > out.normal[0m | ||
[33m5[0m [0m../../cdiff.py -c always -s < in.diff > out.side-by-side[0m [0m[33m4[0m [0m../../cdiff.py -c always -s < in.diff > out.side-by-side[0m | ||
[33m6[0m [0m../../cdiff.py -c always -s < in.diff -w70 > out.w70[0m [0m[33m5[0m [0m../../cdiff.py -c always -s < in.diff -w70 > out.w70[0m | ||
[33m [0m [0m[33m6[0m [1;32m# EOF[0m | ||
[36mBinary files a/foo.pdf and b/foo.pdf differ | ||
[0m[33m[0m[33m[0m[36mdiff -ru a/foo.txt b/foo.txt | ||
[0m[33m--- a/foo.txt 2013-02-23 19:55:03.000000000 +0800 | ||
[0m[33m+++ b/foo.txt 2013-02-23 19:55:10.000000000 +0800 | ||
[0m[1;34m@@ -1,2 +1,2 @@ | ||
[0m[33m1[0m [31m[7m[31mHello[0m[31m[0m [0m[33m1[0m [32m[7m[32mhella[0m[32m[0m | ||
[33m2[0m [0mworld[0m [0m[33m2[0m [0mworld[0m |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
diff --git a/2pdf.sh b/2pdf.sh | ||
index 529d8a3..ad71911 100755 | ||
--- a/2pdf.sh | ||
+++ b/2pdf.sh | ||
@@ -13,3 +13,5 @@ INPUT=${1:-foo.html} | ||
OUTPUT=${INPUT%.html}.pdf | ||
|
||
wkhtmltopdf --page-size A4 $INPUT $OUTPUT # very very long comments ends here | ||
+ | ||
+# EOF | ||
diff --git a/example.pdf b/example.pdf | ||
index 1eacfd8..3696851 100644 | ||
Binary files a/example.pdf and b/example.pdf differ | ||
diff --git a/foo.html b/foo.html | ||
index d2fd3fb..13afa6e 100644 | ||
--- a/foo.html | ||
+++ b/foo.html | ||
@@ -1,4 +1,4 @@ | ||
-<!doctype html> | ||
+<!DOCTYPE html> | ||
<html> | ||
|
||
<head> | ||
diff --git a/foo.pdf b/foo.pdf | ||
index 0e90017..3c3b90d 100644 | ||
Binary files a/foo.pdf and b/foo.pdf differ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,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[1;32m+ | ||
[0m[1;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[1;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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
[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[33m13[0m [0mOUTPUT=${INPUT%.html}.pdf[0m [0m[33m13[0m [0mOUTPUT=${INPUT%.html}.pdf[0m | ||
[33m14[0m [0m[0m [0m[33m14[0m [0m[0m | ||
[33m15[0m [0mwkhtmltopdf --page-size A4 $INPUT $OUTPUT # very very long comments ends here[0m [0m[33m15[0m [0mwkhtmltopdf --page-size A4 $INPUT $OUTPUT # very very long comments ends here[0m | ||
[33m [0m [0m[33m16[0m [1;32m[0m | ||
[33m [0m [0m[33m17[0m [1;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[33m1[0m [31m[7m[31m<!doctype html>[0m[31m[0m [0m[33m1[0m [32m[7m[32m<!DOCTYPE html>[0m[32m[0m | ||
[33m2[0m [0m<html>[0m [0m[33m2[0m [0m<html>[0m | ||
[33m3[0m [0m[0m [0m[33m3[0m [0m[0m | ||
[33m4[0m [0m<head>[0m [0m[33m4[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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
[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[33m13[0m [0mOUTPUT=${INPUT%.html}.pdf[0m [0m[33m13[0m [0mOUTPUT=${INPUT%.html}.pdf[0m | ||
[33m14[0m [0m[0m [0m[33m14[0m [0m[0m | ||
[33m15[0m [0mwkhtmltopdf --page-size A4 $INPUT $OUTPUT # very very long comments [0m[1;35m>[0m [0m[33m15[0m [0mwkhtmltopdf --page-size A4 $INPUT $OUTPUT # very very long comments [0m[1;35m>[0m | ||
[33m [0m [0m[33m16[0m [1;32m[0m | ||
[33m [0m [0m[33m17[0m [1;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[33m1[0m [31m[7m[31m<!doctype html>[0m[31m[0m [0m[33m1[0m [32m[7m[32m<!DOCTYPE html>[0m[32m[0m | ||
[33m2[0m [0m<html>[0m [0m[33m2[0m [0m<html>[0m | ||
[33m3[0m [0m[0m [0m[33m3[0m [0m[0m | ||
[33m4[0m [0m<head>[0m [0m[33m4[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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters