From 213cedc8e4e8dfa6ea3c92cfea05b156aca050c4 Mon Sep 17 00:00:00 2001 From: Kratacoa Date: Sat, 9 Aug 2025 18:51:46 +0100 Subject: [PATCH] Clarify command parsing with # --- doc/pages/command-parsing.asciidoc | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/doc/pages/command-parsing.asciidoc b/doc/pages/command-parsing.asciidoc index 8e2adfdf41..60851e7c11 100644 --- a/doc/pages/command-parsing.asciidoc +++ b/doc/pages/command-parsing.asciidoc @@ -9,6 +9,14 @@ prompt, are parsed according to the following rules: - Words (command names and parameters) are delimited by whitespaces. +- <> are parsed and replaced before the execution of + the commands. + +== Comments parsing + +Commands are commented out after `#` until end of line (not `;`). +`#` takes effect _after_ the expansions are parsed. + == Quoted Strings If a word starts with `'`, `"`, or `%X` with `X` a _non-nestable_ punctuation