David,
On 2006 Mar 7 , at 10.03, David Berry wrote:
> IFS is not available in tcsh/csh is it?
Probably not, but does that matter? You would be picking the shell
to fork, surely.
Anyway, it does seem a bit odd that the only way of doing this seems
to be to fork out to a shell. It would surely be possible, and
surely more robust, to code this internal to the library.
Tim said:
> The earlier bit in the description about expansion of environment
> variables also indicates that simply using readdir/fnmatch to
> replace the functionality is a non-starter.
OK, not easy, then. But readdir and getenv are ubiquitous, and
fnmatch is in POSIX <http://www.opengroup.org/onlinepubs/009695399/
functions/fnmatch.html>, and other platforms will surely have some
analogue when they don't have that.
Norman
--
------------------------------------------------------------------------
----
Norman Gray / http://nxg.me.uk
eurovotech.org / University of Leicester, UK
|