From d44f61582947564991cce7501f2e5db0b29ebad6 Mon Sep 17 00:00:00 2001 From: Rasmus Villemoes Date: Thu, 12 Mar 2026 11:01:04 +0100 Subject: doc: test: document [ ] spelling of test Signed-off-by: Rasmus Villemoes Tested-by: Anshul Dalal --- doc/usage/cmd/test.rst | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'doc/usage/cmd') diff --git a/doc/usage/cmd/test.rst b/doc/usage/cmd/test.rst index d1379117fca..037a9ee1774 100644 --- a/doc/usage/cmd/test.rst +++ b/doc/usage/cmd/test.rst @@ -20,11 +20,14 @@ Synopsis test -e test =~ + [ ] + Description ----------- The ``test`` command is similar to the ordinary shell built-in by the -same name. Unlike in ordinary shells, it cannot be spelled ``[``. +same name. Like in ordinary shells, it can also be spelled ``[``, +provided the test expression is followed by a separate ``]`` argument. Strings ~~~~~~~ -- cgit v1.2.3