File: shellwords.pl

package info (click to toggle)
libperl4-corelibs-perl 0.005-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 368 kB
  • sloc: perl: 2,546; makefile: 2
file content (14 lines) | stat: -rw-r--r-- 280 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
;# shellwords.pl
;#
;# Usage:
;#	require 'shellwords.pl';
;#	@words = shellwords($line);
;#	or
;#	@words = shellwords(@lines);
;#	or
;#	@words = shellwords();		# defaults to $_ (and clobbers it)

use Text::ParseWords 3.25 ();
*shellwords = \&Text::ParseWords::old_shellwords;

1;