This module is originally a port of shellwords.pl, but modified to conform to POSIX / SUSv3 (IEEE Std 1003.1-2001).
Examples:
require 'shellwords' words = Shellwords.shellwords(line)
or
require 'shellwords' include Shellwords words = shellwords(line)