cc: schilling at fokus.fraunhofer.de
Subject: Re: Re: Re: [ksh93-integration-discuss] Re: Patch to introduce "oksh" 
to   OS/Net
--------

> See:
> http://cvs.opensolaris.org/source/xref/on/usr/src/lib/libc/port/regex/wordexp.c
> 
> wordexp() currently calls /bin/ksh -^E (0x05)
> 
> J?rg
> 
> 

If you don't want to use the ast version of wordexp, you could
modify this version to call
        /bin/ksh -c 'printf "%q\n"' word
instead of
        /bin/ksh ^E  word
and then stip off quoting the way the ast version does.

The function to strip of quoting is in the ast version of wordexp.c.

David Korn
dgk at research.att.com

Reply via email to