From 456f9c12907ba1dc9f2722ec7bc5c87e8c5bb4c4 Mon Sep 17 00:00:00 2001 From: Alex Cabal Date: Mon, 15 Nov 2021 16:03:28 -0600 Subject: [PATCH] Remove duplicate replacement in step by step guide --- .../producing-an-ebook-step-by-step.php | 32 +++---------------- 1 file changed, 5 insertions(+), 27 deletions(-) diff --git a/www/contribute/producing-an-ebook-step-by-step.php b/www/contribute/producing-an-ebook-step-by-step.php index b9500bca..b4a832d1 100644 --- a/www/contribute/producing-an-ebook-step-by-step.php +++ b/www/contribute/producing-an-ebook-step-by-step.php @@ -381,28 +381,6 @@ proceed to seal up my confession, I bring the life of that unhappy Henry Jekyll se interactive-replace '(?<![Ee]ach and )([Ee])very one(?!\s+of)' "\1veryone" src/epub/text/* -
  • -

    every thing ➔ everything

    - - - - - - - - - - - -
    Correct change: -

    Equip a ship with every thing apt for naval battle.

    -

    Equip a ship with everything apt for naval battle.

    -
    Incorrect change: -

    For there was no one more clever than he to do a hand’s turn at any and every thing.

    -

    For there was no one more clever than he to do a hand’s turn at any and everything.

    -
    - se interactive-replace "([Ee])very thing" "\1verything" src/epub/text/* -
  • any thing ➔ anything

    @@ -498,20 +476,20 @@ proceed to seal up my confession, I bring the life of that unhappy Henry Jekyll
    Correct change: -

    It is curious the unearthly glamour which moonlight seems to throw over every thing.

    -

    It is curious the unearthly glamour which moonlight seems to throw over everything.

    +

    Equip a ship with every thing apt for naval battle.

    +

    Equip a ship with everything apt for naval battle.

    Incorrect change: -

    And every thing and every entity approaching New York Spaceport was combed, literally by the cubic millimeter.

    -

    And everything and every entity approaching New York Spaceport was combed, literally by the cubic millimeter.

    +

    For there was no one more clever than he to do a hand’s turn at any and every thing.

    +

    For there was no one more clever than he to do a hand’s turn at any and everything.

    - se interactive-replace "\b([Ee])very thing\b" "\1verything" src/epub/text/* + se interactive-replace "([Ee])very thing" "\1verything" src/epub/text/*
  • After you’ve reviewed the changes, create an [Editorial] commit. This commit is important, because it gives purists an avenue to revert modernizing changes to the original text.