diff --git a/doc/pages/expansions.asciidoc b/doc/pages/expansions.asciidoc index 5fd57a63..a14877a5 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