Sort utility problem with carriage returns and line feeds

If running the sort utility on a file, and any record in the file contained a carriage return or linefeed character in a field that was selected for indexing, the utility would not complete successfully.

In version 233, Sort will check for these characters (both of which are invalid in MARC records) and convert them to a blank space, before running the indexing process.

A workaround for earlier versions would be to either find the offending record (with MARC Review1) and correct it in MARC Report, or to run the Verify utility on the file and select the option called 'Control code translation'.

1)
Use the following pattern to find records containing a carriage return: TAG=XXX, DATA={x1D}, REGULAR EXPRESSION=FALSE
233/sort_crlf_problem.txt · Last modified: 2021/12/29 16:21 (external edit)
Back to top
CC Attribution-Share Alike 4.0 International
Driven by DokuWiki