Skip to content

shellQuoteList list

shellQuoteList returns a list where each element is the corresponding element in list quoted using shellQuote.

Example

#!/bin/sh

{{ $args := list "" "$(exec something)" }}
command {{ $args | shellQuoteList | join " " }}