Text::Shellwords man page on Fedora

Man page or keyword search:  
man Server   31170 pages
apropos Keyword Search (all sections)
Output format
Fedora logo
[printable version]

Shellwords(3)	      User Contributed Perl Documentation	 Shellwords(3)

NAME
       Text::Shellwords

SYNOPSIS
	 use Text::Shellwords;
	 @words = shellwords($line);
	 @words = shellwords(@lines);

DESCRIPTION
       This used to be a wrapper around shellwords.pl, but has now been
       superseded by Text::ParseWords.	Use that module insteade.  If you use
       this module, it will simply report the shellwords() function from
       Text::ParseWords.

       The old description follows:

       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.

       If called with one or more arguments, shellwords() will treat each
       argument as a line of text, parse it, and return the tokens.

       Note that the old behavior of parsing $_ if no arguments are provided
       is no longer supported. Sorry.

BUGS
       Please report them.

SEE ALSO
       shellwords.pl

AUTHOR
       Lincoln Stein <lstein@cshl.org>.

       Copyright (c) 2001 Cold Spring Harbor Laboratory

       This library is free software; you can redistribute it and/or modify it
       under the same terms as Perl itself.  See DISCLAIMER.txt for
       disclaimers of warranty.

perl v5.14.0			  2005-11-10			 Shellwords(3)
[top]

List of man pages available for Fedora

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net