]> git.sur5r.net Git - glabels/blobdiff - bc-backends/barcode-0.98/doc/infofilter
Relocated barcode backends.
[glabels] / bc-backends / barcode-0.98 / doc / infofilter
diff --git a/bc-backends/barcode-0.98/doc/infofilter b/bc-backends/barcode-0.98/doc/infofilter
new file mode 100755 (executable)
index 0000000..92bc8b7
--- /dev/null
@@ -0,0 +1,16 @@
+#! /usr/bin/sed -f
+
+
+# allow "%" as a comment char, but only at the beginning of the line
+s/^%/@c /
+#s/[^\\]%.*$//
+s/^\\%/%/
+
+#preserve blanks in @lisp blocks
+/@lisp/,/@end lisp/ p
+/@lisp/,/@end lisp/ d
+
+# remove leading blanks
+s/^[   ]*//
+
+#s/\\t/@code/g