summaryrefslogtreecommitdiff
path: root/doc/bash-style.cli
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2021-02-22 15:41:06 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2021-02-22 15:41:06 +0200
commit261358a3c093002af8d7ed2405ee64b0bcd8b555 (patch)
tree88e4e7c5a053dc6336765ca081d9e904e012ce5a /doc/bash-style.cli
parent55ff42d0144cb303d8a1b5c02e630c72e19ec517 (diff)
Fix formatting in bash guide
Diffstat (limited to 'doc/bash-style.cli')
-rw-r--r--doc/bash-style.cli3
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/bash-style.cli b/doc/bash-style.cli
index 3f620f4..4edc984 100644
--- a/doc/bash-style.cli
+++ b/doc/bash-style.cli
@@ -253,10 +253,11 @@ rm -f \"$dir/$name\".*
Note also that globbing is not performed in the \c{[[ ]]} context so this is
ok:
+\
if [[ -v array[0] ]]; then
...
fi
-
+\
\N|One exception to this quoting rule is arithmetic expansion (\c{$((\ ))}):
Bash treats it as if it was double-quoted and, as a result, any inner quoting