Browse files

expanded_markdown.sh: addition of licence text and explanations

  • Loading branch information...
1 parent 9071e37 commit 95b00af5ffc02177d00e596bb7943c1dc841fc86 Natacha Porté committed Oct 26, 2009
Showing with 20 additions and 0 deletions.
  1. +20 −0 expanded_markdown.sh
View
20 expanded_markdown.sh
@@ -1,3 +1,23 @@
#!/bin/sh
+# Copyright (c) 2009, Natacha Porté
+#
+# Permission to use, copy, modify, and distribute this software for any
+# purpose with or without fee is hereby granted, provided that the above
+# copyright notice and this permission notice appear in all copies.
+#
+# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
+# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
+# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+
+# This script is used for markdown validation:
+# The original Markdown.pl expand tabs into spaces, which is something
+# I don't want to do, and it cannot be easily fixed in the renderer,
+# so has to be preprocessed. expand(1) is used for that preprocessing,
+# feeding tab-free data into my markdown.
+
expand -t 4 "$@" | $(dirname $0)/markdown

0 comments on commit 95b00af

Please sign in to comment.