1. Rörd Hinrichsen
  2. footnotes-ocaml


"Rör...@gmail.com>"  committed 2fb96a7

Added sample file and testing script.

  • Participants
  • Parent commits 837a56e
  • Branches default

Comments (0)

Files changed (2)

File footnotes-test.sh

View file
  • Ignore whitespace
+echo 'from file:'
+./footnotes sample.txt
+echo 'from stdin:'
+./footnotes < sample.txt

File sample.txt

View file
  • Ignore whitespace
+A great brown fox [13] jumped of a pile
+of lorem ipsum [4], [7]. He met with a
+silver penguin, browsing the Linux Kernel
+Mailinglist [3]. They debated other [sic!] the
+question whether to start a C-program with
+"main (int argc, char **argv)" or with
+"main (int argc, char *argv[])". Square
+brackets annoyed them [9999].
+How about unkown footnotes? [666]
+Another new [42] and two repeated footnotes.[7][42]
+[13] Al Fabetus: "On characters and animals", 1888, self published.
+[4] Lorem ipsum, <a href="http://en.wikipedia.org/wiki/Lorem_ipsum">Web Link</a>
+[9999] Annoying Link.
+a13o: more junk
+[7] B. Fox: "More on Blind Text".
+[3] Linux Kernel Maintainers: LKML
+[23] unreferenced footnote.
+[42] Douglas Adams: "Das Leben, das Universum und der ganze Rest".