Anonymous avatar Anonymous committed 2fb96a7

Added sample file and testing script.

Comments (0)

Files changed (2)

footnotes-test.sh

+echo 'from file:'
+./footnotes sample.txt
+echo 'from stdin:'
+./footnotes < sample.txt
+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]
+
+@footnote:
+
+junk
+[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".
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.