Skip to contentSkip to conversation

system_data_types.7: fix typo in regmatch_t description

PATCH In review Michael Tokarev 2 participants 2 messages Oct 18, 2022 Man-pages: manual pages for Linux -- Sections 2, 3, 4, 5, and 7

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 system_data_types.7: fix typo in regmatch_t description

The description of rm_eo in regmatch_t structure has a typo which makes it difficult to understand. Fix this.

man7/system_data_types.7 +1 -1
@@ -1018,7 +1018,7 @@
 typedef struct {
     regoff_t    rm_so; /* Byte offset from start of string
                           to start of substring */
-    regoff_t    rm_eo; /* Byte offset from start of string of
+    regoff_t    rm_eo; /* Byte offset from start of string to
                           the first character after the end of
                           substring */
 } regmatch_t;
#1 lore raw

Hi Michael,

Quoted 5 lines · Michael Tokarev

The description of rm_eo in regmatch_t structure has a typo which makes it difficult to understand. Fix this.

Patch applied.

BTW, I guess you applied it on top of the 5.13 release, because the HEAD in the git repository (and the recent 6.00 release too) are quite different from that. Now that text is in <man3type/regex_t.3type>.

Thanks,

Alex

Quoted 12 lines
man7/system_data_types.7 +1 -1
@@ -1018,7 +1018,7 @@
  typedef struct {
      regoff_t    rm_so; /* Byte offset from start of string
                            to start of substring */
-    regoff_t    rm_eo; /* Byte offset from start of string of
+    regoff_t    rm_eo; /* Byte offset from start of string to
                            the first character after the end of
                            substring */
  } regmatch_t;
Signature · 1 line
<http://www.alejandro-colomar.es/>