LP1754455 Add support for --strip to marc_export to provide ability to remove user/dpearl/LP1754455_marc_export_regex
authorDan Pearl <dpearl@cwmars.org>
Fri, 16 Mar 2018 17:14:03 +0000 (13:14 -0400)
committerDan Pearl <dpearl@cwmars.org>
Fri, 16 Mar 2018 17:14:03 +0000 (13:14 -0400)
commit757309830b8182794b986ca30ab851d389403360
treeb07daef3bf47c4893aca199038e6d8593c8eeaff
parentdc7f2b8746697ab24d12469b962bf3f87835202f
LP1754455 Add support for --strip to marc_export to provide ability to remove
fields or subfields.

To test: Try all forms of --strip:
--strip <tag> e.g. --strip 856
        --strip <tag>/<sub>   e.g.  --strip 856/0
        --strip /<sub>   e.g. --strip /0

Try some regular expressions:
--strip 8..
        --strip /[ab0]

For all tests, compare the regular output to the stripped otput and the plain
(unstripped) output.
Signed-off-by: Dan Pearl <dpearl@cwmars.org>
Open-ILS/src/support-scripts/marc_export.in
docs/RELEASE_NOTES_NEXT/marc_export_strip.adoc [new file with mode: 0644]