cs::Shell - shell related facilities
use cs::Shell;
This module provides shell related facilities such as globbing and quoting.
The function takes an array of args and quotes each for use in a shell command line. In an array context an array of quoted strings is returned. In a scalar context the quoted strings are concatenated with spaces and returned.
Write shell assignment statements to set the environment variables vars to the cs::Sink sink. If vars is omitted, write assignments for every member of %ENV. If force is true the assignments set the variables unconditionally otherwise only if the variable is already nonempty. mode is one of SH or CSH, indicating Bourne shell or csh dialect.
As for sputvars() above, but writes to the current default filehandle (as returned by the select perl function).
Return the pathnames supplied concatenated with colons (':').
Return the concatenation of those pathnames supplied for which the perl stat() function succeeds. Later duplicates of earlier paths are discarded (based on their dev:rdev pair from the stat(), so differnet paths resolving to the same target are correctly considered duplicates).
Call the cs::Glob::glob() function.
sh(1), cs::Glob(3)
Cameron Simpson <cs@zip.com.au>