LP1754455 Add --strip option to marc_export to remove fields orsubfields.
authorDan Pearl <dpearl@cwmars.org>
Fri, 16 Mar 2018 17:14:03 +0000 (13:14 -0400)
committerJason Stephenson <jason@sigio.com>
Fri, 30 Mar 2018 00:33:02 +0000 (20:33 -0400)
commit551713d3603f8802392cff5938200e35cac6f07f
tree7270b39333ddbc13b1d564defbf137c7755dc583
parenteaec26b623232c31d5bd55ccf4c9cd6651abf0e4
LP1754455 Add --strip option to marc_export to remove fields orsubfields.

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>
Signed-off-by: Jason Stephenson <jason@sigio.com>
Open-ILS/src/support-scripts/marc_export.in
docs/RELEASE_NOTES_NEXT/marc_export_strip.adoc [new file with mode: 0644]