wordexp() implementation without fork()

Joel Sherrill <[email protected]>
Newsgroups gmane.comp.lib.newlib
Message-ID <CAF9ehCWiwG-3-6+eg_mmVJ0rSX_3VevEX_OWPZuhW9SA2kEDWA@mail.gmail.com>
Hi

Having a single process wordexp() implementation has been on the RTEMS
POSIX wishlist for a while. I haven't been able to find one. The POSIX
method description
seems to hint that this implementation strategy is possible and the Linux
man page
uses the phrase "shell-like expansion".

Does anyone know of an implementation that doesn't use fork()? Or an
implementation
strategy based around some open source wildcard evaluation?

Or is this a POSIX method that is just unimplementable without multiple
processes?

Thanks.

--joel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.