A few more typos in strings of sharutils...

Sebastian Rasmussen <[email protected]> Sun, 28 May 2017 04:04:04 +0800
Newsgroups gmane.comp.gnu.utils.bugs
Message-ID <CAAgDR1PfBNapAt6KL=PMOYs0tiF81yoyAYK=M+J4c4Yotfq2Fg@mail.gmail.com>
Hi!

While reviewing the Swedish translation of sharutils
I took the liberty to run a spellchecker over the source,
and in doing so found a few typos that I fix in the attached
patch. I hope it might make it into the next release.

 / Sebastian
0001-Fix-several-typos.patch (text/x-diff, 4.3 KB)
From e97d4cb66ef158089db1f797536e1e9f39f89223 Mon Sep 17 00:00:00 2001
From: Sebastian Rasmussen <[email protected]>
Date: Sun, 28 May 2017 03:37:08 +0800
Subject: [PATCH] Fix several typos.

---
 README.git                 | 2 +-
 src/scribble.c             | 4 ++--
 src/scripts.def            | 2 +-
 src/shar-opts.def          | 2 +-
 src/unshar-opts.def        | 2 +-
 src/uuencode-full-help.txt | 2 +-
 src/uuencode-opts.def      | 2 +-
 7 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/README.git b/README.git
index dc07f0e..f67e830 100644
--- a/README.git
+++ b/README.git
@@ -14,7 +14,7 @@ under the terms of the GNU General Public License.
 'uuencode' prepares a file for transmission over an electronic channel which
 ignores or otherwise mangles the eight bit (high order bit) of bytes.
 'uudecode' does the converse transformation.  They are derived from the BSD
-NET/2 distribution, but enchanced with the features described in recent POSIX
+NET/2 distribution, but enhanced with the features described in recent POSIX
 standards.  If you have more powerful 'uuencode' and 'uudecode' already
 available, you may want to use './configure --disable-uucode' to prevent their
 installation.
diff --git a/src/scribble.c b/src/scribble.c
index 2d25727..c5cf4e9 100644
--- a/src/scribble.c
+++ b/src/scribble.c
@@ -121,7 +121,7 @@ new_scribble_block(size_t min_size)
  * The allocation gets incremented by one and then rounded to a multiple
  * of sizeof(void*).
  *
- * @param size thesize required.
+ * @param size the size required.
  * @returns the allocated chunk.
  */
 void *
@@ -155,7 +155,7 @@ scribble_get(ssize_t size)
 /**
  * get some scribble space, but exit on failure.
  *
- * @param size thesize required.
+ * @param size the size required.
  * @returns the allocated chunk.
  */
 void *
diff --git a/src/scripts.def b/src/scripts.def
index 1e6ac94..dcde097 100644
--- a/src/scripts.def
+++ b/src/scripts.def
@@ -483,7 +483,7 @@ text = {
  *
  *  Again, the answer to the rhetorical question, "Why bother?"
  *
- *  The answere here is the i18-n effort.  Because these strings are in an
+ *  The answer here is the i18-n effort.  Because these strings are in an
  *  inbetween world between shell scripting and human language, the quote
  *  characters must be done correctly.  Here, they are all removed.
  *  In shar.c, the desired string is put together and then a gnulib call
diff --git a/src/shar-opts.def b/src/shar-opts.def
index a7b0a47..9e85faa 100644
--- a/src/shar-opts.def
+++ b/src/shar-opts.def
@@ -54,7 +54,7 @@ exit-desc[2]  = 'a specified input could not be found';
 exit-name[3]  = cannot-opendir;
 exit-desc[3]  = 'open/close of specified directory failed';
 exit-name[4]  = failed;
-exit-desc[4]  = 'Resource limit/miscelleaneous shar command failure';
+exit-desc[4]  = 'Resource limit/miscellaneous shar command failure';
 exit-name[63] = bug;
 exit-desc[63] = 'There is a shar command bug.  Please report it.';
 
diff --git a/src/unshar-opts.def b/src/unshar-opts.def
index 22aa198..449553c 100644
--- a/src/unshar-opts.def
+++ b/src/unshar-opts.def
@@ -63,7 +63,7 @@ flag = {
     doc = <<- _EODoc_
 	The input file names are relative to the current directory
 	when the program was started.  This option tells @command{unshar}
-	to insert a @code{cd <dir>} commad at the start of the
+	to insert a @code{cd <dir>} command at the start of the
 	@command{shar} text written to the shell.
 	_EODoc_;
 };
diff --git a/src/uuencode-full-help.txt b/src/uuencode-full-help.txt
index caffdbc..699ba0d 100644
--- a/src/uuencode-full-help.txt
+++ b/src/uuencode-full-help.txt
@@ -40,6 +40,6 @@ standard out.
 
 'Note': 'uuencode' uses buffered input and assumes that it is not hand
 typed from a tty.  The consequence is that at a tty, you may need to hit
-Ctl-D several times to terminate input.
+Ctrl-D several times to terminate input.
 
 Please send bug reports to:  <[email protected]>
diff --git a/src/uuencode-opts.def b/src/uuencode-opts.def
index 77edeef..7a3c3ea 100644
--- a/src/uuencode-opts.def
+++ b/src/uuencode-opts.def
@@ -35,7 +35,7 @@ detail = <<- _EODetail_
 
 	@strong{Note}: @file{uuencode} uses buffered input and assumes that it
 	is not hand typed from a tty.  The consequence is that at a tty, you
-	may need to hit Ctl-D several times to terminate input.
+	may need to hit Ctrl-D several times to terminate input.
 	_EODetail_;
 
 include = <<- _EOF_
-- 
2.11.0