aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--.gitignore1
-rw-r--r--LICENSE14
-rw-r--r--ch1/1-01_hello-world.c (renamed from 1-01_hello-world.c)0
-rw-r--r--ch1/1-02_escape-sequences.c (renamed from 1-02_escape-sequences.c)0
-rw-r--r--ch1/1-03_temp-table-header.c (renamed from 1-03_temp-table-header.c)0
-rw-r--r--ch1/1-04_celsius_converter.c (renamed from 1-04_celsius_converter.c)0
-rw-r--r--ch1/1-05_backwards-table.c (renamed from 1-05_backwards-table.c)0
-rw-r--r--ch1/1-06_eof-test.c (renamed from 1-06_eof-test.c)0
-rw-r--r--ch1/1-07_eof-value.c (renamed from 1-07_eof-value.c)0
-rw-r--r--ch1/1-08_space-counter.c (renamed from 1-08_space-counter.c)0
-rw-r--r--ch1/1-09_single-spacing.c (renamed from 1-09_single-spacing.c)0
-rw-r--r--ch1/1-10_literal-escapes.c (renamed from 1-10_literal-escapes.c)0
-rw-r--r--ch1/1-11_word-count.c (renamed from 1-11_word-count.c)0
-rw-r--r--ch1/1-12_one-word-per-line.c (renamed from 1-12_one-word-per-line.c)0
-rw-r--r--ch1/1-13_word-length-histogram.c (renamed from 1-13_word-length-histogram.c)0
-rw-r--r--ch1/1-14_character-freq-histogram.c (renamed from 1-14_character-freq-histogram.c)0
-rw-r--r--ch1/1-15_temp-convert-func.c (renamed from 1-15_temp-convert-func.c)0
-rw-r--r--ch1/1-16_longest-line.c (renamed from 1-16_longest-line.c)0
-rw-r--r--ch1/1-17_over-80.c (renamed from 1-17_over-80.c)0
-rw-r--r--ch1/1-18_strip-blanks.c (renamed from 1-18_strip-blanks.c)0
-rw-r--r--ch1/1-19_reverse-lines.c (renamed from 1-19_reverse-lines.c)0
-rw-r--r--ch1/1-20_detab.c (renamed from 1-20_detab.c)0
-rw-r--r--ch1/1-21_entab.c (renamed from 1-21_entab.c)0
-rw-r--r--ch1/1-22_wordwrap.c (renamed from 1-22_wordwrap.c)0
-rw-r--r--ch1/1-23_decomment.c (renamed from 1-23_decomment.c)0
-rw-r--r--ch1/1-24_syntax-checker.c (renamed from 1-24_syntax-checker.c)0
26 files changed, 15 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index 67f42e5..e86d263 100644
--- a/.gitignore
+++ b/.gitignore
@@ -4,3 +4,4 @@
!*.h
!.gitignore
!README.mdown
+!LICENSE
diff --git a/LICENSE b/LICENSE
new file mode 100644
index 0000000..cb33446
--- /dev/null
+++ b/LICENSE
@@ -0,0 +1,14 @@
+ DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
+ Version 2, December 2004
+
+ Copyright (C) 2004 Sam Hocevar
+ 22 rue de Plaisance, 75014 Paris, France
+ Everyone is permitted to copy and distribute verbatim or modified
+ copies of this license document, and changing it is allowed as long
+ as the name is changed.
+
+ DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
+ TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
+
+ 0. You just DO WHAT THE FUCK YOU WANT TO.
+
diff --git a/1-01_hello-world.c b/ch1/1-01_hello-world.c
index e02c87a..e02c87a 100644
--- a/1-01_hello-world.c
+++ b/ch1/1-01_hello-world.c
diff --git a/1-02_escape-sequences.c b/ch1/1-02_escape-sequences.c
index 8d122e0..8d122e0 100644
--- a/1-02_escape-sequences.c
+++ b/ch1/1-02_escape-sequences.c
diff --git a/1-03_temp-table-header.c b/ch1/1-03_temp-table-header.c
index d0d069c..d0d069c 100644
--- a/1-03_temp-table-header.c
+++ b/ch1/1-03_temp-table-header.c
diff --git a/1-04_celsius_converter.c b/ch1/1-04_celsius_converter.c
index a397d9a..a397d9a 100644
--- a/1-04_celsius_converter.c
+++ b/ch1/1-04_celsius_converter.c
diff --git a/1-05_backwards-table.c b/ch1/1-05_backwards-table.c
index a09619a..a09619a 100644
--- a/1-05_backwards-table.c
+++ b/ch1/1-05_backwards-table.c
diff --git a/1-06_eof-test.c b/ch1/1-06_eof-test.c
index 5214338..5214338 100644
--- a/1-06_eof-test.c
+++ b/ch1/1-06_eof-test.c
diff --git a/1-07_eof-value.c b/ch1/1-07_eof-value.c
index aaf838b..aaf838b 100644
--- a/1-07_eof-value.c
+++ b/ch1/1-07_eof-value.c
diff --git a/1-08_space-counter.c b/ch1/1-08_space-counter.c
index 0e00176..0e00176 100644
--- a/1-08_space-counter.c
+++ b/ch1/1-08_space-counter.c
diff --git a/1-09_single-spacing.c b/ch1/1-09_single-spacing.c
index 4bf802a..4bf802a 100644
--- a/1-09_single-spacing.c
+++ b/ch1/1-09_single-spacing.c
diff --git a/1-10_literal-escapes.c b/ch1/1-10_literal-escapes.c
index 903fff4..903fff4 100644
--- a/1-10_literal-escapes.c
+++ b/ch1/1-10_literal-escapes.c
diff --git a/1-11_word-count.c b/ch1/1-11_word-count.c
index 1b4056c..1b4056c 100644
--- a/1-11_word-count.c
+++ b/ch1/1-11_word-count.c
diff --git a/1-12_one-word-per-line.c b/ch1/1-12_one-word-per-line.c
index 29a38df..29a38df 100644
--- a/1-12_one-word-per-line.c
+++ b/ch1/1-12_one-word-per-line.c
diff --git a/1-13_word-length-histogram.c b/ch1/1-13_word-length-histogram.c
index d3115a5..d3115a5 100644
--- a/1-13_word-length-histogram.c
+++ b/ch1/1-13_word-length-histogram.c
diff --git a/1-14_character-freq-histogram.c b/ch1/1-14_character-freq-histogram.c
index 14c4871..14c4871 100644
--- a/1-14_character-freq-histogram.c
+++ b/ch1/1-14_character-freq-histogram.c
diff --git a/1-15_temp-convert-func.c b/ch1/1-15_temp-convert-func.c
index aa59cf6..aa59cf6 100644
--- a/1-15_temp-convert-func.c
+++ b/ch1/1-15_temp-convert-func.c
diff --git a/1-16_longest-line.c b/ch1/1-16_longest-line.c
index 1f6e556..1f6e556 100644
--- a/1-16_longest-line.c
+++ b/ch1/1-16_longest-line.c
diff --git a/1-17_over-80.c b/ch1/1-17_over-80.c
index 53f00ce..53f00ce 100644
--- a/1-17_over-80.c
+++ b/ch1/1-17_over-80.c
diff --git a/1-18_strip-blanks.c b/ch1/1-18_strip-blanks.c
index c766445..c766445 100644
--- a/1-18_strip-blanks.c
+++ b/ch1/1-18_strip-blanks.c
diff --git a/1-19_reverse-lines.c b/ch1/1-19_reverse-lines.c
index d87b625..d87b625 100644
--- a/1-19_reverse-lines.c
+++ b/ch1/1-19_reverse-lines.c
diff --git a/1-20_detab.c b/ch1/1-20_detab.c
index dc8f5b5..dc8f5b5 100644
--- a/1-20_detab.c
+++ b/ch1/1-20_detab.c
diff --git a/1-21_entab.c b/ch1/1-21_entab.c
index 6037a14..6037a14 100644
--- a/1-21_entab.c
+++ b/ch1/1-21_entab.c
diff --git a/1-22_wordwrap.c b/ch1/1-22_wordwrap.c
index 83acfd6..83acfd6 100644
--- a/1-22_wordwrap.c
+++ b/ch1/1-22_wordwrap.c
diff --git a/1-23_decomment.c b/ch1/1-23_decomment.c
index 63193cd..63193cd 100644
--- a/1-23_decomment.c
+++ b/ch1/1-23_decomment.c
diff --git a/1-24_syntax-checker.c b/ch1/1-24_syntax-checker.c
index 019b9bc..019b9bc 100644
--- a/1-24_syntax-checker.c
+++ b/ch1/1-24_syntax-checker.c