diff --git a/doc/pages/expansions.asciidoc b/doc/pages/expansions.asciidoc index 5fd57a638..a14877a52 100644 --- a/doc/pages/expansions.asciidoc +++ b/doc/pages/expansions.asciidoc @@ -109,7 +109,7 @@ back the original values. For example, if you want to process the contents of each selection, you can do something like: ---- -eval set -- $kak_selections +eval set -- "$kak_selections" while [ $# -gt 0 ]; do # ... do a thing with $1 ... shift