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

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

Return to bug 8218