Documentation
¶
Overview ¶
Package shellwords provides POSIX shell-style word splitting, replacing the kballard/go-shellquote and google/shlex dependencies with mvdan.cc/sh/v3.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Split ¶
Split splits the given command line string into words according to POSIX shell word-splitting rules, removing quotes and resolving backslash escapes.
No variable or parameter expansion is performed: expansions survive as literal text for the execution environment (typically a container shell) to interpret. Command and process substitution are rejected because they would require running a shell locally.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.