← All tips

Bash: use arrays for arguments

bashscripts

Avoid quoting issues by building arrays.

args=(--site dist)
pagefind "${args[@]}"