View | Details | Raw Unified | Return to bug 8218
Collapse All | Expand All

(-)a/misc/maintenance/batch_sanitize_records.pl (-6 / +6 lines)
Lines 120-126 for my $biblionumber (@biblionumbers) { Link Here
120
        say " Done!" if $verbose;
120
        say " Done!" if $verbose;
121
    }
121
    }
122
    else {
122
    else {
123
        say " Nothing todo." if $verbose;
123
        say " Nothing to do." if $verbose;
124
    }
124
    }
125
}
125
}
126
126
Lines 154-166 sub biblios_to_sanitize { Link Here
154
154
155
=head1 NAME
155
=head1 NAME
156
156
157
batch_sanitize_biblios - This script sanitize a biblio, replacing '&etc.' with '&' in it.
157
batch_sanitize_biblios - This script sanitizes a biblio, replacing '&etc.' with '&' in it.
158
158
159
=head1 SYNOPSIS
159
=head1 SYNOPSIS
160
160
161
batch_sanitize_biblios.pl [-h|--help] [-v|--verbose] [-c|--confirm] [--biblionumbers=BIBLIONUMBER_LIST] [-f|--filename=FILENAME] [--auto-search] [--reindex]
161
batch_sanitize_biblios.pl [-h|--help] [-v|--verbose] [-c|--confirm] [--biblionumbers=BIBLIONUMBER_LIST] [-f|--filename=FILENAME] [--auto-search] [--reindex]
162
162
163
Replace '&' by '&' in a record, you can either give some biblionumbers or a file with biblionumbers or ask for an auto-search
163
Replace '&' by '&' in a record. You can either give some biblionumbers or a file with biblionumbers or ask for an auto-search.
164
164
165
=head1 OPTIONS
165
=head1 OPTIONS
166
166
Lines 182-192 only report on the record list to process. Link Here
182
182
183
=item B<--biblionumbers=BIBLIONUMBER_LIST>
183
=item B<--biblionumbers=BIBLIONUMBER_LIST>
184
184
185
Give a biblionumber list using this parameter. They must be separated by comma.
185
Give a biblionumber list using this parameter. They must be separated by
186
commas.
186
187
187
=item B<-f|--filename=FILENAME>
188
=item B<-f|--filename=FILENAME>
188
189
189
Give a biblionumber list using a filename. One biblionumber by line or separate them with a withespace character.
190
Give a biblionumber list using a filename. One biblionumber by line or separate them with a whitespace character.
190
191
191
=item B<--auto_search>
192
=item B<--auto_search>
192
193
193
- 

Return to bug 8218