$ uv run rule.py 2026-10-13 no-k effort No word contains the letter "k". $ echo $? 0 $ uv run rule.py README.md README.md:3:15: error: "checks" contains "k" [no-k] `rule.py` checks a text file against one writing rule and reports every break the way a compiler rep orts a syntax error: `file:line:col: error:`, the source line, a caret under the word, `N errors gen erated.`, and exit status 1. The rule changes every day, drawn by the date from a fixed table, or is picked by name from 30. It is one file, Python 3.11 or newer, standard library only: from this fold er, `uv run rule.py` prints today's rule and `uv run rule.py draft.txt` checks a file against it (`p ython3 rule.py` works the same). It takes any UTF-8 text you wrote, as a file or on standard input ( `-`), and reads the local calendar date; a text that keeps the rule prints nothing at all. ^ README.md:3:77: error: "break" contains "k" [no-k] `rule.py` checks a text file against one writing rule and reports every break the way a compiler rep orts a syntax error: `file:line:col: error:`, the source line, a caret under the word, `N errors gen erated.`, and exit status 1. The rule changes every day, drawn by the date from a fixed table, or is picked by name from 30. It is one file, Python 3.11 or newer, standard library only: from this fold er, `uv run rule.py` prints today's rule and `uv run rule.py draft.txt` checks a file against it (`p ython3 rule.py` works the same). It takes any UTF-8 text you wrote, as a file or on standard input ( `-`), and reads the local calendar date; a text that keeps the rule prints nothing at all. ^ README.md:3:305: error: "picked" contains "k" [no-k] `rule.py` checks a text file against one writing rule and reports every break the way a compiler rep orts a syntax error: `file:line:col: error:`, the source line, a caret under the word, `N errors gen erated.`, and exit status 1. The rule changes every day, drawn by the date from a fixed table, or is picked by name from 30. It is one file, Python 3.11 or newer, standard library only: from this fold er, `uv run rule.py` prints today's rule and `uv run rule.py draft.txt` checks a file against it (`p ython3 rule.py` works the same). It takes any UTF-8 text you wrote, as a file or on standard input ( `-`), and reads the local calendar date; a text that keeps the rule prints nothing at all. ^ README.md:3:477: error: "checks" contains "k" [no-k] `rule.py` checks a text file against one writing rule and reports every break the way a compiler rep orts a syntax error: `file:line:col: error:`, the source line, a caret under the word, `N errors gen erated.`, and exit status 1. The rule changes every day, drawn by the date from a fixed table, or is picked by name from 30. It is one file, Python 3.11 or newer, standard library only: from this fold er, `uv run rule.py` prints today's rule and `uv run rule.py draft.txt` checks a file against it (`p ython3 rule.py` works the same). It takes any UTF-8 text you wrote, as a file or on standard input ( `-`), and reads the local calendar date; a text that keeps the rule prints nothing at all. ^ README.md:3:520: error: "works" contains "k" [no-k] `rule.py` checks a text file against one writing rule and reports every break the way a compiler rep orts a syntax error: `file:line:col: error:`, the source line, a caret under the word, `N errors gen erated.`, and exit status 1. The rule changes every day, drawn by the date from a fixed table, or is picked by name from 30. It is one file, Python 3.11 or newer, standard library only: from this fold er, `uv run rule.py` prints today's rule and `uv run rule.py draft.txt` checks a file against it (`p ython3 rule.py` works the same). It takes any UTF-8 text you wrote, as a file or on standard input ( `-`), and reads the local calendar date; a text that keeps the rule prints nothing at all. ^ README.md:3:539: error: "takes" contains "k" [no-k] `rule.py` checks a text file against one writing rule and reports every break the way a compiler rep orts a syntax error: `file:line:col: error:`, the source line, a caret under the word, `N errors gen erated.`, and exit status 1. The rule changes every day, drawn by the date from a fixed table, or is picked by name from 30. It is one file, Python 3.11 or newer, standard library only: from this fold er, `uv run rule.py` prints today's rule and `uv run rule.py draft.txt` checks a file against it (`p ython3 rule.py` works the same). It takes any UTF-8 text you wrote, as a file or on standard input ( `-`), and reads the local calendar date; a text that keeps the rule prints nothing at all. ^ README.md:3:654: error: "keeps" contains "k" [no-k] `rule.py` checks a text file against one writing rule and reports every break the way a compiler rep orts a syntax error: `file:line:col: error:`, the source line, a caret under the word, `N errors gen erated.`, and exit status 1. The rule changes every day, drawn by the date from a fixed table, or is picked by name from 30. It is one file, Python 3.11 or newer, standard library only: from this fold er, `uv run rule.py` prints today's rule and `uv run rule.py draft.txt` checks a file against it (`p ython3 rule.py` works the same). It takes any UTF-8 text you wrote, as a file or on standard input ( `-`), and reads the local calendar date; a text that keeps the rule prints nothing at all. ^ README.md:7:69: error: "check" contains "k" [no-k] rule [--rule NAME] [--date YYYY-MM-DD] [--no-log] FILE check FILE ("-" reads stdin) ^ README.md:15:69: error: "link" contains "k" [no-k] Here `rule` stands for `uv run rule.py`. To type `rule` instead, link the file onto your PATH; it is executable and its first line runs it with uv: ^ README.md:22:51: error: "check" contains "k" [no-k] uv run rule.py draft.txt check draft.txt against it ^ README.md:23:51: error: "check" contains "k" [no-k] uv run rule.py --rule no-the draft.txt check against a rule picked by name ^ README.md:23:71: error: "picked" contains "k" [no-k] uv run rule.py --rule no-the draft.txt check against a rule picked by name ^ README.md:27:34: error: "walked" contains "k" [no-k] For example, the sentence `We walked to the market.` saved as `draft.txt`, on a no-k day: ^ README.md:27:48: error: "market" contains "k" [no-k] For example, the sentence `We walked to the market.` saved as `draft.txt`, on a no-k day: ^ README.md:27:84: error: "k" contains "k" [no-k] For example, the sentence `We walked to the market.` saved as `draft.txt`, on a no-k day: ^ README.md:29:31: error: "walked" contains "k" [no-k] draft.txt:1:7: error: "walked" contains "k" [no-k] ^ README.md:29:46: error: "k" contains "k" [no-k] draft.txt:1:7: error: "walked" contains "k" [no-k] ^ README.md:29:53: error: "k" contains "k" [no-k] draft.txt:1:7: error: "walked" contains "k" [no-k] ^ README.md:30:11: error: "walked" contains "k" [no-k] We walked to the market. ^ README.md:30:25: error: "market" contains "k" [no-k] We walked to the market. ^ README.md:32:32: error: "market" contains "k" [no-k] draft.txt:1:21: error: "market" contains "k" [no-k] ^ README.md:32:47: error: "k" contains "k" [no-k] draft.txt:1:21: error: "market" contains "k" [no-k] ^ README.md:32:54: error: "k" contains "k" [no-k] draft.txt:1:21: error: "market" contains "k" [no-k] ^ README.md:33:11: error: "walked" contains "k" [no-k] We walked to the market. ^ README.md:33:25: error: "market" contains "k" [no-k] We walked to the market. ^ README.md:37:129: error: "kept" contains "k" [no-k] Errors go to standard error. The rule line, `--list`, `--explain` and `--record` go to standard outp ut. Exit status: 0 the text kept the rule, 1 it broke the rule, 2 the tool could not run (unreadable file, empty file, invalid UTF-8, unknown rule, bad date). There is no fix option, no ignore option, no suppression comment and no config file. The checked file is opened read-only and never written. ^ README.md:37:152: error: "broke" contains "k" [no-k] Errors go to standard error. The rule line, `--list`, `--explain` and `--record` go to standard outp ut. Exit status: 0 the text kept the rule, 1 it broke the rule, 2 the tool could not run (unreadable file, empty file, invalid UTF-8, unknown rule, bad date). There is no fix option, no ignore option, no suppression comment and no config file. The checked file is opened read-only and never written. ^ README.md:37:237: error: "unknown" contains "k" [no-k] Errors go to standard error. The rule line, `--list`, `--explain` and `--record` go to standard outp ut. Exit status: 0 the text kept the rule, 1 it broke the rule, 2 the tool could not run (unreadable file, empty file, invalid UTF-8, unknown rule, bad date). There is no fix option, no ignore option, no suppression comment and no config file. The checked file is opened read-only and never written. ^ README.md:37:353: error: "checked" contains "k" [no-k] Errors go to standard error. The rule line, `--list`, `--explain` and `--record` go to standard outp ut. Exit status: 0 the text kept the rule, 1 it broke the rule, 2 the tool could not run (unreadable file, empty file, invalid UTF-8, unknown rule, bad date). There is no fix option, no ignore option, no suppression comment and no config file. The checked file is opened read-only and never written. ^ README.md:39:123: error: "brick" contains "k" [no-k] Colour appears only when standard error is a terminal and `NO_COLOR` is unset: the word `error:` and the underline in brick, `#EC5E52`. Nothing else is coloured. ^ README.md:45:52: error: "make" contains "k" [no-k] The 6 hard rules are the Oulipo constraints that make prose close to unwritable. The date never draw s them; they are picked by name only. `no-` is accepted for any letter a to z. `--date` give s the rule for any date and is never logged. With `--explain`, `--date` stands in for today. ^ README.md:45:121: error: "picked" contains "k" [no-k] The 6 hard rules are the Oulipo constraints that make prose close to unwritable. The date never draw s them; they are picked by name only. `no-` is accepted for any letter a to z. `--date` give s the rule for any date and is never logged. With `--explain`, `--date` stands in for today. ^ README.md:47:106: error: "keeps" contains "k" [no-k] Every daily rule is in the rotation because a written paragraph of at least 40 words of ordinary Eng lish keeps it; `test_rule.py` holds those paragraphs and checks each one. ^ README.md:47:162: error: "checks" contains "k" [no-k] Every daily rule is in the rotation because a written paragraph of at least 40 words of ordinary Eng lish keeps it; `test_rule.py` holds those paragraphs and checks each one. ^ README.md:60:28: error: "mark" contains "k" [no-k] No exclamation mark. ^ README.md:61:13: error: "k" contains "k" [no-k] R04 no-k effort daily - ^ README.md:62:39: error: "k" contains "k" [no-k] No word contains the letter "k". ^ README.md:120:83: error: "mark" contains "k" [no-k] - The file is read as strict UTF-8; invalid bytes exit 2. A leading byte order mark is dropped. Each line is normalised to NFC, split on line feeds, with a trailing carriage return dropped. ^ README.md:121:55: error: "marks" contains "k" [no-k] - A word is a run of Unicode letters and combining marks, with an apostrophe (straight or curly) all owed between two letters. A hyphen, an underscore or a slash ends a word, so `well-known` is two wor ds. A word keeps its own spelling when printed. ^ README.md:121:184: error: "known" contains "k" [no-k] - A word is a run of Unicode letters and combining marks, with an apostrophe (straight or curly) all owed between two letters. A hyphen, an underscore or a slash ends a word, so `well-known` is two wor ds. A word keeps its own spelling when printed. ^ README.md:121:212: error: "keeps" contains "k" [no-k] - A word is a run of Unicode letters and combining marks, with an apostrophe (straight or curly) all owed between two letters. A hyphen, an underscore or a slash ends a word, so `well-known` is two wor ds. A word keeps its own spelling when printed. ^ README.md:124:91: error: "marks" contains "k" [no-k] - Folding, for the letter rules and first letters: casefold, decompose, drop combining marks, then m ap ß to ss, æ to ae, œ to oe, ø to o, đ to d, ł to l and ı to i. So `é` counts as `e`, `ç` as `c`, ` ğ` as `g`. Only the Latin letters a to z take part in letter rules. ^ README.md:124:244: error: "take" contains "k" [no-k] - Folding, for the letter rules and first letters: casefold, decompose, drop combining marks, then m ap ß to ss, æ to ae, œ to oe, ø to o, đ to d, ł to l and ı to i. So `é` counts as `e`, `ç` as `c`, ` ğ` as `g`. Only the Latin letters a to z take part in letter rules. ^ README.md:125:87: error: "brackets" contains "k" [no-k] - A sentence ends at a run of `.` `!` `?` `…` `。` `!` `?`, with closing quotes or brackets allowe d after it, when whitespace or the end of the text follows. A blank line also ends a sentence; a lin e break alone does not. A period after `mr mrs ms dr prof st vs cf e.g i.e` or after a single letter (an initial) does not end one. Numbers and punctuation are not counted as words. ^ README.md:125:164: error: "blank" contains "k" [no-k] - A sentence ends at a run of `.` `!` `?` `…` `。` `!` `?`, with closing quotes or brackets allowe d after it, when whitespace or the end of the text follows. A blank line also ends a sentence; a lin e break alone does not. A period after `mr mrs ms dr prof st vs cf e.g i.e` or after a single letter (an initial) does not end one. Numbers and punctuation are not counted as words. ^ README.md:125:204: error: "break" contains "k" [no-k] - A sentence ends at a run of `.` `!` `?` `…` `。` `!` `?`, with closing quotes or brackets allowe d after it, when whitespace or the end of the text follows. A blank line also ends a sentence; a lin e break alone does not. A period after `mr mrs ms dr prof st vs cf e.g i.e` or after a single letter (an initial) does not end one. Numbers and punctuation are not counted as words. ^ README.md:127:75: error: "broken" contains "k" [no-k] - All word comparisons ignore capitalisation. Every message quotes the broken word exactly as it was written. ^ README.md:133:22: error: "knows" contains "k" [no-k] - Sentence splitting knows a short, fixed list of abbreviations and nothing else. ^ README.md:134:6: error: "Markdown" contains "k" [no-k] - Markdown, code and commit comment lines are read as plain text. ^ README.md:138:12: error: "check" contains "k" [no-k] Only a check of today's rule, with no `--rule` and no `--date`, is logged. One line is appended to ` $RULE_LOG` if set, else `$XDG_STATE_HOME/rule-of-the-day/log`, else `~/.local/state/rule-of-the-day/ log`: the date, the rule, the exit code, the word count and the break count, separated by single spa ces. The file name and the text are never recorded. `--no-log` skips it, and a run that exits 2 is n ever logged. The log is append-only, so a broken run stays in the record after a later pass. `rule - -record` prints it with a tally; a day counts as survived if any run that day exited 0. ^ README.md:138:269: error: "break" contains "k" [no-k] Only a check of today's rule, with no `--rule` and no `--date`, is logged. One line is appended to ` $RULE_LOG` if set, else `$XDG_STATE_HOME/rule-of-the-day/log`, else `~/.local/state/rule-of-the-day/ log`: the date, the rule, the exit code, the word count and the break count, separated by single spa ces. The file name and the text are never recorded. `--no-log` skips it, and a run that exits 2 is n ever logged. The log is append-only, so a broken run stays in the record after a later pass. `rule - -record` prints it with a tally; a day counts as survived if any run that day exited 0. ^ README.md:138:365: error: "skips" contains "k" [no-k] Only a check of today's rule, with no `--rule` and no `--date`, is logged. One line is appended to ` $RULE_LOG` if set, else `$XDG_STATE_HOME/rule-of-the-day/log`, else `~/.local/state/rule-of-the-day/ log`: the date, the rule, the exit code, the word count and the break count, separated by single spa ces. The file name and the text are never recorded. `--no-log` skips it, and a run that exits 2 is n ever logged. The log is append-only, so a broken run stays in the record after a later pass. `rule - -record` prints it with a tally; a day counts as survived if any run that day exited 0. ^ README.md:138:446: error: "broken" contains "k" [no-k] Only a check of today's rule, with no `--rule` and no `--date`, is logged. One line is appended to ` $RULE_LOG` if set, else `$XDG_STATE_HOME/rule-of-the-day/log`, else `~/.local/state/rule-of-the-day/ log`: the date, the rule, the exit code, the word count and the break count, separated by single spa ces. The file name and the text are never recorded. `--no-log` skips it, and a run that exits 2 is n ever logged. The log is append-only, so a broken run stays in the record after a later pass. `rule - -record` prints it with a tally; a day counts as survived if any run that day exited 0. ^ README.md:142:5: error: "Check" contains "k" [no-k] Check the last commit message: ^ README.md:146:22: error: "hook" contains "k" [no-k] As a `commit-msg` hook, saved as `.git/hooks/commit-msg` and made executable: ^ README.md:146:43: error: "hooks" contains "k" [no-k] As a `commit-msg` hook, saved as `.git/hooks/commit-msg` and made executable: ^ README.md:151:77: error: "hook" contains "k" [no-k] Git's own comment lines, the ones starting with `#`, are in the file the hook receives, and they are read as text like every other line. ^ README.md:151:117: error: "like" contains "k" [no-k] Git's own comment lines, the ones starting with `#`, are in the file the hook receives, and they are read as text like every other line. ^ README.md:153:77: error: "keeps" contains "k" [no-k] The audit of a repository's whole past, one commit at a time so each report keeps its commit: ^ README.md:157:10: error: "checks" contains "k" [no-k] This checks every message ever committed against a rule that did not exist when they were written. ^ README.md:167:53: error: "network" contains "k" [no-k] One file of Python, standard library only, no network. The report format is borrowed unchanged from GCC and Clang. The hard rules come from Perec and the Oulipo, no-be is E-Prime after D. David Bourla nd Jr., and the test paragraphs retell one walk to a river under each daily rule, after Queneau's Ex ercices de style. Rotation table revision 1, in force from 1970-01-01. This README was written on 20 26-10-13, a no-k day, and checked against all thirty rules. It keeps none of them. ^ README.md:167:247: error: "walk" contains "k" [no-k] One file of Python, standard library only, no network. The report format is borrowed unchanged from GCC and Clang. The hard rules come from Perec and the Oulipo, no-be is E-Prime after D. David Bourla nd Jr., and the test paragraphs retell one walk to a river under each daily rule, after Queneau's Ex ercices de style. Rotation table revision 1, in force from 1970-01-01. This README was written on 20 26-10-13, a no-k day, and checked against all thirty rules. It keeps none of them. ^ README.md:167:416: error: "k" contains "k" [no-k] One file of Python, standard library only, no network. The report format is borrowed unchanged from GCC and Clang. The hard rules come from Perec and the Oulipo, no-be is E-Prime after D. David Bourla nd Jr., and the test paragraphs retell one walk to a river under each daily rule, after Queneau's Ex ercices de style. Rotation table revision 1, in force from 1970-01-01. This README was written on 20 26-10-13, a no-k day, and checked against all thirty rules. It keeps none of them. ^ README.md:167:431: error: "checked" contains "k" [no-k] One file of Python, standard library only, no network. The report format is borrowed unchanged from GCC and Clang. The hard rules come from Perec and the Oulipo, no-be is E-Prime after D. David Bourla nd Jr., and the test paragraphs retell one walk to a river under each daily rule, after Queneau's Ex ercices de style. Rotation table revision 1, in force from 1970-01-01. This README was written on 20 26-10-13, a no-k day, and checked against all thirty rules. It keeps none of them. ^ README.md:167:464: error: "keeps" contains "k" [no-k] One file of Python, standard library only, no network. The report format is borrowed unchanged from GCC and Clang. The hard rules come from Perec and the Oulipo, no-be is E-Prime after D. David Bourla nd Jr., and the test paragraphs retell one walk to a river under each daily rule, after Queneau's Ex ercices de style. Rotation table revision 1, in force from 1970-01-01. This README was written on 20 26-10-13, a no-k day, and checked against all thirty rules. It keeps none of them. ^ 65 errors generated. $ echo $? 1 $