[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[COMMITTED (like most of us should be!)] Correct typos in user visible s

From: John Darrington
Subject: [COMMITTED (like most of us should be!)] Correct typos in user visible strings.
Date: Sat, 7 Mar 2020 12:10:57 +0100

 ChangeLog     |  6 ++++++
 doc/poke.texi | 14 +++++++-------
 src/pk-ios.c  |  4 ++--
 3 files changed, 15 insertions(+), 9 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 32048039..363d831a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2020-03-07  John Darrington <address@hidden>
+       * doc/poke.texi: Spell check.
+       * src/pk-ios.c (load_cmd, file_cmd): Change "filename" to be two
+       words per GNU Coding Standards.
 2020-03-07  Jose E. Marchesi  <address@hidden>
        * src/pkl-gen.pks (struct_constructor): Remove assert.
diff --git a/doc/poke.texi b/doc/poke.texi
index 9416bc3c..f8c1de1b 100644
--- a/doc/poke.texi
+++ b/doc/poke.texi
@@ -255,7 +255,7 @@ To help you, poke uses the readline library
 @xref{Top,,,rluserman,GNU Readline Library}.
 This provides shortcuts and simple keystrokes to repeat
 previous commands with or without modification, fast selection of
-filenames and entries from other multiple choice contexts, and
+file names and entries from other multiple choice contexts, and
 navigation within a command and among previous commands.
 @cindex history, session history
 When the REPL starts, the history of your previous sessions
@@ -282,7 +282,7 @@ When a trailing semicolon is required, it can be omitted.
 When an expression is evaluated, the result of the expression is
 printed back to you.  For example:
-@cindex expresssions
+@cindex expressions
 (poke) 23
@@ -523,7 +523,7 @@ poke's current working directory or absolute.
 Tilde expansion is performed in @var{path}, much like it's done in the
 shell.  This means you can include special characters like @code{~}
-(which will expand to your home directory) delimit the filename with
+(which will expand to your home directory) delimit the file name with
 @code{"} in case it includes leading or trailing blank characters,
@@ -681,7 +681,7 @@ switch to it as the new current IO space:
 (poke) .ios #1
 The current file is now `foo.o'.
 (poke) .info ios
-  Id   Mode    Size            Filename
+  Id   Mode    Size            Name
   #0   rw      0x00000022#B    foo.bson
 * #1   r       0x0000df78#B    foo.o
 @end example
@@ -1130,7 +1130,7 @@ The type of a numeric literal is the smallest signed 
integer capable
 of holding it, starting with 32 bits, in steps of powers of two and up
 to 64 bits.@footnote{Rationale: the width of a C ``int'' is 32 bits in
 most currently used architectures, and binary data formats are usually
-modeled after C.}
+modelled after C.}
 So, for example, the value @code{2} has type @code{int<32>}, but the
 value @code{0xffff_ffff} has type @code{int<64>}, because it is out of
@@ -1482,7 +1482,7 @@ similar to C structs, I was determined to not continue 
with the poke
 implementation until I had described as many as binary formats in my
 language as possible.  That, I reckoned, was the only way to make sure
 the implemented language would be expressive, complete and useful
-enough to fulfill my requirements.
+enough to fulfil my requirements.
 The first formats I implemented using my immature little language
 included ELF, FLV, MP3, BSON@dots{} of them describing structures
@@ -2234,7 +2234,7 @@ re-evaluated and a new value is computed.
 Consequently, if the value of a variable referred in the expression
 changes, like in our example, the type itself gets updated
-automagically.  Very nice but, why is Poke designed like this?  Just
+auto-magically.  Very nice but, why is Poke designed like this?  Just
 to impress the cat?  Nope.
 In binary formats, and also in protocols, the size of some given data
diff --git a/src/pk-ios.c b/src/pk-ios.c
index 3e142eb0..bb81527d 100644
--- a/src/pk-ios.c
+++ b/src/pk-ios.c
@@ -370,7 +370,7 @@ const struct pk_cmd ios_cmd =
   {"ios", "t", "", 0, NULL, pk_cmd_ios, "ios #ID", ios_completion_function};
 const struct pk_cmd file_cmd =
-  {"file", "f", "", 0, NULL, pk_cmd_file, "file FILENAME", 
+  {"file", "f", "", 0, NULL, pk_cmd_file, "file FILE-NAME", 
 const struct pk_cmd mem_cmd =
   {"mem", "s", "", 0, NULL, pk_cmd_mem, "mem NAME", NULL};
@@ -387,4 +387,4 @@ const struct pk_cmd info_ios_cmd =
   {"ios", "", "", 0, NULL, pk_cmd_info_ios, "info ios", NULL};
 const struct pk_cmd load_cmd =
-  {"load", "f", "", 0, NULL, pk_cmd_load_file, "load FILENAME", 
+  {"load", "f", "", 0, NULL, pk_cmd_load_file, "load FILE-NAME", 

reply via email to

[Prev in Thread] Current Thread [Next in Thread]