summaryrefslogtreecommitdiffhomepage
path: root/src/pattern.c
diff options
context:
space:
mode:
authorSean Kurtz <seankurtz75@gmail.com>2026-11-18 18:04:28 -0600
committerSean Kurtz <seankurtz75@gmail.com>2026-11-18 18:04:28 -0600
commitd51368ffc48a1521796e5f582b489306da5fd5ce (patch)
tree6782d2b8656967388a98798e59e4ef1ed4803096 /src/pattern.c
parent199f4059adbcfbd8a54d28a2f4a4ff34b0857e84 (diff)
downloadzash-d51368ffc48a1521796e5f582b489306da5fd5ce.tar.gz
docs: say it in short sentences
DESIGN.md, README.md and the Doxygen comments leaned on semicolons to join clauses and on trailing "which" clauses to add afterthoughts. Both read as machine-written prose. Each joined clause is now its own sentence, and the afterthoughts are either part of the sentence or a sentence of their own. Also corrected: README said C11 in two places (the tree builds C17), the completion section still described the pre-HLQ-rule filters and the 64-call resume limit, and the z/OS job-control note still called SPAWN_SETTCPGRP unverified.
Diffstat (limited to 'src/pattern.c')
-rw-r--r--src/pattern.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pattern.c b/src/pattern.c
index bc11278..b54bf49 100644
--- a/src/pattern.c
+++ b/src/pattern.c
@@ -27,7 +27,7 @@ static int index_in(const char *set, unsigned char c) {
*
* Letters are not contiguous in EBCDIC, so a range between two letters of
* the same case, or between two digits, is taken by position in the
- * alphabet; any other range is by character code.
+ * alphabet. Any other range is by character code.
*/
static bool in_range(unsigned char lo, unsigned char hi, unsigned char c) {
static const char *const sets[] = {"abcdefghijklmnopqrstuvwxyz",
@@ -262,7 +262,7 @@ static void glob_from(globber *g, const char *pat) {
/**
* @brief Pathname expansion.
- * @param pat Pattern; quoted characters are backslash-escaped.
+ * @param pat Pattern. Quoted characters are backslash-escaped.
* @param add Called with each existing path that matches, in any order.
* @param ctx Passed through to `add`.
*/