On Tuesday 27 April 2010 17:15:28 David Korn wrote:
> cc: [email protected]
> Subject: Re: [ast-users] ksh bugs?

> > 8)
> > echo foo | od /dev/fd/0
> > od: /dev/fd/0: No such device or address
> 
> This is because Linux doesn't support /dev/fd/0 for socketpair which
> is used by ksh93 for pipelines.  I believe that this is a Linux bug.
> 

Could you provide more info about this? I could try to get it fixed if it's 
really a linux bug.

I've tried above command in bash and mksh and both worked, but I guess they 
use different mechanism for pipelines.

I've found there are some socketpair tests in src/lib/libast/features/lib and 
src/cmd/ksh93/features/poll what are they used for?

Regards,
Michal Hlavinka
_______________________________________________
ast-users mailing list
[email protected]
https://mailman.research.att.com/mailman/listinfo/ast-users

Reply via email to