Bugzilla – Attachment 29794 Details for
Bug 8218
Add a script to sanitize entity where "&" character was wrongly replaced with "&"
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 8218: Follow-up for some small typos
Bug-8218-Follow-up-for-some-small-typos.patch (text/plain), 2.05 KB, created by
Jonathan Druart
on 2014-07-17 12:35:31 UTC
(
hide
)
Description:
Bug 8218: Follow-up for some small typos
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2014-07-17 12:35:31 UTC
Size:
2.05 KB
patch
obsolete
>From 2a1c0ffcaecf46ffd171780e13d00671c4290fd7 Mon Sep 17 00:00:00 2001 >From: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >Date: Thu, 17 Jul 2014 13:54:27 +0200 >Subject: [PATCH] Bug 8218: Follow-up for some small typos > >--- > misc/maintenance/batch_sanitize_records.pl | 11 ++++++----- > 1 file changed, 6 insertions(+), 5 deletions(-) > >diff --git a/misc/maintenance/batch_sanitize_records.pl b/misc/maintenance/batch_sanitize_records.pl >index 7e21df0..b164ec2 100755 >--- a/misc/maintenance/batch_sanitize_records.pl >+++ b/misc/maintenance/batch_sanitize_records.pl >@@ -120,7 +120,7 @@ for my $biblionumber (@biblionumbers) { > say " Done!" if $verbose; > } > else { >- say " Nothing todo." if $verbose; >+ say " Nothing to do." if $verbose; > } > } > >@@ -154,13 +154,13 @@ sub biblios_to_sanitize { > > =head1 NAME > >-batch_sanitize_biblios - This script sanitize a biblio, replacing '&amp;amp;etc.' with '&' in it. >+batch_sanitize_biblios - This script sanitizes a biblio, replacing '&amp;amp;etc.' with '&' in it. > > =head1 SYNOPSIS > > batch_sanitize_biblios.pl [-h|--help] [-v|--verbose] [-c|--confirm] [--biblionumbers=BIBLIONUMBER_LIST] [-f|--filename=FILENAME] [--auto-search] [--reindex] > >-Replace '&' by '&' in a record, you can either give some biblionumbers or a file with biblionumbers or ask for an auto-search >+Replace '&' by '&' in a record. You can either give some biblionumbers or a file with biblionumbers or ask for an auto-search. > > =head1 OPTIONS > >@@ -182,11 +182,12 @@ only report on the record list to process. > > =item B<--biblionumbers=BIBLIONUMBER_LIST> > >-Give a biblionumber list using this parameter. They must be separated by comma. >+Give a biblionumber list using this parameter. They must be separated by >+commas. > > =item B<-f|--filename=FILENAME> > >-Give a biblionumber list using a filename. One biblionumber by line or separate them with a withespace character. >+Give a biblionumber list using a filename. One biblionumber by line or separate them with a whitespace character. > > =item B<--auto_search> > >-- >2.0.0.rc2
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 8218
:
10039
|
10588
|
10589
|
11744
|
12591
|
13678
|
15826
|
16122
|
16720
|
26754
|
26755
|
29792
|
29793
|
29794
|
29795
|
29796
|
29798
|
30120
|
30121
|
33248