Documentation ¶
Overview ¶
Package shlex is a Unicode-supporting POSIX command-line argument parser.
shlex will parse for example
start --append="foobar foobaz" --nogood 'food'
into the appropriate argvs to start the command.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Split ¶
Split splits a command line according to Bash shell rules.
Split is compatible with Bash quoting as described in https://www.gnu.org/software/bash/manual/html_node/Quoting.html and GRUB quoting as described in https://www.gnu.org/software/grub/manual/grub/grub.html#Quoting
Split treats $, ", \, \n, and ` as special within double quotes, as does Bash. This is slightly different from GRUB, but Grub can live with it.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.