projects
/
idzebra-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
New filter
[idzebra-moved-to-github.git]
/
tab
/
usmarc.flt
diff --git a/tab/usmarc.flt
b/tab/usmarc.flt
new file mode 100644
(file)
index 0000000..
74e3f9b
--- /dev/null
+++ b/
tab/usmarc.flt
@@ -0,0
+1,8
@@
+#
+# Rather dummy input-filter for MARC
+#
+
+BEGIN { begin record usmarc }
+/^.../ / / /../ / / { begin element $0 }
+/\$/ /./ BODY /[$\n]/ { data -element $1 $2; unread 3 }
+/\n/ { end element }