bugGNU roff - Bugs: bug #51078, src: Remove repeated words in files

 
 

bug #51078: src: Remove repeated words in files

Submitter:  Bjarni Ingi Gislason <bjarniig>
Submitted:  Sun 21 May 2017 02:50:25 AM UTC
   
 
Category:  General Severity:  2 - Minor
Item Group:  Lint Status:  Fixed
Privacy:  Public Assigned to:  gbranden
Open/Closed:  Closed Planned Release:  1.22.4
* Mandatory Fields

Add a New Comment Rich Markup
   

Wed 15 Jun 2022 05:48:03 PM UTC, comment #2: 


commit 529857da03ef68eeb9b11dd94b219df168c29de7
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
Date:   Sun Oct 22 19:31:19 2017 -0400

    Fix doubled words "the" and "to".

    Based on (but expanded from) a report by Bjarni Ingi Gislason
    <bjarniig@rhi.hi.is>.

    Fixes Savannah #51078.


G. Branden Robinson <gbranden>
Group administrator
Mon 05 Nov 2018 01:47:23 PM UTC, comment #1: 

Fixed in 529857da03ef68eeb9b11dd94b219df168c29de7.

G. Branden Robinson <gbranden>
Group administrator
Sun 21 May 2017 02:50:25 AM UTC, original submission:  

From 7c09425cceccfaa349988887f2865a0565fb1b87 Mon Sep 17 00:00:00 2001
From: Bjarni Ingi Gislason <bjarniig@rhi.hi.is>
Date: Sun, 21 May 2017 02:33:42 +0000
Subject: [PATCH] Remove repeated words in files in the "src" directory

Signed-off-by: Bjarni Ingi Gislason <bjarniig@rhi.hi.is>
---
 src/include/font.h              | 2 +-
 src/preproc/eqn/over.cpp        | 2 +-
 src/preproc/grn/hgraph.cpp      | 4 ++--
 src/preproc/refer/TODO          | 2 +-
 src/utils/hpftodit/hpftodit.cpp | 2 +-
 5 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/src/include/font.h b/src/include/font.h
index 155651a8..beff6525 100644
--- a/src/include/font.h
+++ b/src/include/font.h
@@ -33,7 +33,7 @@ typedef void (FONT_COMMAND_HANDLER)(const char , // command
 //     `charNNN' denoting a single `char' in the input character set,
 //     `uXXXX' denoting a Unicode character,
 //
-//   - those with a number, referring to the the font-dependent glyph with
+//   - those with a number, referring to the font-dependent glyph with
 //     the given number.
 
 // The statically allocated information about a glyph.
diff --git a/src/preproc/eqn/over.cpp b/src/preproc/eqn/over.cpp
index 339e4539..75c8364f 100644
--- a/src/preproc/eqn/over.cpp
+++ b/src/preproc/eqn/over.cpp
@@ -151,7 +151,7 @@ void over_box::output()
     printf("\\h'\\n[" WIDTH_FORMAT "]u-\\n[" WIDTH_FORMAT "]u/2u'",
     uid, den->uid);
 
-    // print the the denominator
+    // print the denominator
     den->output();
 
   #ifdef USE_Z
diff --git a/src/preproc/grn/hgraph.cpp b/src/preproc/grn/hgraph.cpp
index 01208951..c6e9c5c5 100644
--- a/src/preproc/grn/hgraph.cpp
+++ b/src/preproc/grn/hgraph.cpp
@@ -801,7 +801,7 @@ Paramaterize(int x[],
  | Routine: PeriodicSpline (h, z, dz, d2z, d3z, npoints)
  |
  | Results: This routine solves for the cubic polynomial to fit a spline
- | curve to the the points specified by the list of values.
+ | curve to the points specified by the list of values.
  | The Curve generated is periodic.  The algorithms for this
  | curve are from the `Spline Curve Techniques' paper cited
  | above.
@@ -874,7 +874,7 @@ PeriodicSpline(double h[], /* paramaterization  */
  | Routine: NaturalEndSpline (h, z, dz, d2z, d3z, npoints)
  |
  | Results: This routine solves for the cubic polynomial to fit a spline
- | curve the the points specified by the list of values.  The
+ | curve the points specified by the list of values.  The
  | alogrithms for this curve are from the `Spline Curve
  | Techniques' paper cited above.
  ----------------------------------------------------------------------------/
diff --git a/src/preproc/refer/TODO b/src/preproc/refer/TODO
index 5bbd9bff..0118f8ac 100644
--- a/src/preproc/refer/TODO
+++ b/src/preproc/refer/TODO
@@ -92,7 +92,7 @@ Provide a way to execute a command using a command-line option.
 
 Option to set the label-spec as a command-line option (-L).
 
-Command to to specify which fields can occur multiple times:
+Command to specify which fields can occur multiple times:
 multiple AE
 
 Command to specify how various fields sort:
diff --git a/src/utils/hpftodit/hpftodit.cpp b/src/utils/hpftodit/hpftodit.cpp
index 069608df..38a6aed3 100644
--- a/src/utils/hpftodit/hpftodit.cpp
+++ b/src/utils/hpftodit/hpftodit.cpp
@@ -938,7 +938,7 @@ output_charset(const int tfm_type)
       && charcode_name_table[charcode]) {
       char *name = charcode_name_table[charcode]->name;
       // don't warn about Unicode or unnamed glyphs
-      //  that aren't in the the TFM file
+      //  that aren't in the TFM file
       if (tfm_type == UNICODE && !quiet_flag && !equal(name, UNNAMED)
    && !is_uname(name)) {
  fprintf(stderr, "%s: warning: symbol U+%04X (%s",
--
2.11.0


Bjarni Ingi Gislason <bjarniig>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by gbranden (Updated the item)
  • -email is unavailable- added by bgarrigues (Updated the item)
  • -email is unavailable- added by bjarniig (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 9 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2022-06-15 gbranden CategoryNone General
        Item GroupDocumentation Lint
    2018-11-05 gbranden Item GroupNone Documentation
        Open/ClosedOpen Closed
        Planned ReleaseNone 1.22.4
    2017-10-22 gbranden StatusIn Progress Fixed
    2017-10-22 gbranden StatusNone In Progress
        Assigned toNone gbranden
    2017-09-01 bgarrigues Severity3 - Normal 2 - Minor

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code