summaryrefslogtreecommitdiff
path: root/Master/tlpkg/tlperl.straw/lib/shellwords.pl
diff options
context:
space:
mode:
Diffstat (limited to 'Master/tlpkg/tlperl.straw/lib/shellwords.pl')
-rwxr-xr-xMaster/tlpkg/tlperl.straw/lib/shellwords.pl14
1 files changed, 14 insertions, 0 deletions
diff --git a/Master/tlpkg/tlperl.straw/lib/shellwords.pl b/Master/tlpkg/tlperl.straw/lib/shellwords.pl
new file mode 100755
index 00000000000..b3ef33ebd9f
--- /dev/null
+++ b/Master/tlpkg/tlperl.straw/lib/shellwords.pl
@@ -0,0 +1,14 @@
+;# shellwords.pl
+;#
+;# Usage:
+;# require 'shellwords.pl';
+;# @words = shellwords($line);
+;# or
+;# @words = shellwords(@lines);
+;# or
+;# @words = shellwords(); # defaults to $_ (and clobbers it)
+
+require Text::ParseWords;
+*shellwords = \&Text::ParseWords::old_shellwords;
+
+1;