Cedric, one quick solution is to use
http://svn.nrubsig.org/svn/people/gisburn/scripts/buildksh93.sh on
Linux; Solaris changes is still on Roland's To do list.

Olga

On Mon, Oct 8, 2012 at 9:18 PM, Cedric Blancher
<cedric.blanc...@googlemail.com> wrote:
> On 6 October 2012 09:31, Glenn Fowler <g...@research.att.com> wrote:
>>
>> ast ksh 2012-10-04 alpha source packages have been posted to
>>         www.research.att.com/sw/download/alpha/
>>
>> this alpha includes { grep xargs iconv } as ksh static builtins
>> any b_*() function added to src/lib/libcmd will automatically be added as a 
>> ksh static builtin
>
> I managed to build this but ./arch/linux.i386-64/bin/ksh -c 'builtin |
> grep -F /' doesn't report anything - no grep, no cmp, no od, no tail
> or head.
> I checked and cmdlist.h contains garbage:
> -----------------------------------------------------------------------------
> /*
> * -lcmd function list -- define your own CMDLIST()
> */
>
>
> #if !defined(__PROTO__)
> #include <prototyped.h>
> #endif
> #if !defined(__LINKAGE__)
> #define __LINKAGE__             /* 2004-08-11 transition */
> #endif
> #if _AST_VERSION < 20121001
> **** output of /usr/bin/env here ****
> #else
>
> #endif
> -----------------------------------------------------------------------------
>
> What worries me is the output of /usr/bin/env which is not parse-able
> in C at all.
>
> Ced
> --
> Cedric Blancher <cedric.blanc...@googlemail.com>
> Institute Pasteur
> _______________________________________________
> ast-developers mailing list
> ast-developers@research.att.com
> https://mailman.research.att.com/mailman/listinfo/ast-developers



-- 
      ,   _                                    _   ,
     { \/`o;====-    Olga Kryzhanovska   -====;o`\/ }
.----'-/`-/     olga.kryzhanov...@gmail.com   \-`\-'----.
 `'-..-| /       http://twitter.com/fleyta     \ |-..-'`
      /\/\     Solaris/BSD//C/C++ programmer   /\/\
      `--`                                      `--`
_______________________________________________
ast-developers mailing list
ast-developers@research.att.com
https://mailman.research.att.com/mailman/listinfo/ast-developers

Reply via email to