Description:
A wrapper around PSX_WORDEXP that does shell expansion without doing globbing.
Glob wildcard characters are escaped, as are illegal, to wordexp(), shell metacharacters such as "(" and
")".
Only a single expansion string is returned by this routine and it is an error for wordexp() to return multiple
matches.
Invocation
CALL ONE_WORDEXP_NOGLOB( WORDS, EXPAN, STATUS )
Arguments
WORDS =
CHARACTER()
(Given)
The string to be shell expanded.
EXPAN =
CHARACTER()
(Given)
Expanded string.
STATUS = INTEGER (Given & Returned)
The global status.
See Also
ONE_SHELL_ECHO is similar except that it guarantees to fork whereas wordexp() might not fork.
Copyright © 2000 Council for the Central Laboratory of the Research Councils