X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=tab%2Fusmarc.flt;fp=tab%2Fusmarc.flt;h=74e3f9b7c235adce0a0c9230e62184635cef6c4e;hb=c8a98a8c762c0b528177561e8eb8dae40cf5cd1f;hp=0000000000000000000000000000000000000000;hpb=ee6cf4efedf15c91fc7fd8e1bd08382e6c0f48f7;p=idzebra-moved-to-github.git diff --git a/tab/usmarc.flt b/tab/usmarc.flt new file mode 100644 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 }