mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-08 06:48:28 +00:00
60b79e7633
This is a thin wrapper around the shellwords.pl package, which comes preinstalled with Perl. This module imports a single subroutine, shellwords(). The shellwords() routine parses lines of text and returns a set of tokens using the same rules that the Unix shell does for its command-line arguments. Tokens are separated by whitespace, and can be delimited by single or double quotes. The module also respects backslash escapes. PR: ports/50081 Submitted by: George Hartzell <hartzell@fruitfly.org>
8 lines
433 B
Plaintext
8 lines
433 B
Plaintext
This is a thin wrapper around the shellwords.pl package, which comes
|
|
preinstalled with Perl. This module imports a single subroutine,
|
|
shellwords(). The shellwords() routine parses lines of text and
|
|
returns a set of tokens using the same rules that the Unix shell does
|
|
for its command-line arguments. Tokens are separated by whitespace,
|
|
and can be delimited by single or double quotes. The module also
|
|
respects backslash escapes.
|