freebsd-ports/textproc/p5-Text-Shellwords/pkg-descr
Edwin Groothuis 60b79e7633 new port, p5-Text-Shellwords
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>
2003-04-29 09:31:03 +00:00

7 lines
433 B
Text

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.