2012/11/28 Clark WANG <[email protected]>:
> ~{fd} is new to me. Please help me a bit...
>
>>
>> >>>
>> >>> This isn't readlink support. It's a a smart solution to allow child
>> >>> processes to access the shell's inherited file descriptors.
>
>
> Lionel, I don't quite understand this. Can you explain a bit more?

ksh does not share fds with it's child processes. However with
/proc/$PPID/fd/number (ksh uses /dev/fd instead of /proc if the latter
is not available) it is possible to access the fds of the ksh parent
process. ksh93 gives an easy abstraction of this feature using ~{fd}.

Lionel
_______________________________________________
ast-users mailing list
[email protected]
http://lists.research.att.com/mailman/listinfo/ast-users

Reply via email to