Subject: Re: bashism for ksh
To: None <>
From: Thorsten Glaser <>
List: tech-userlevel
Date: 09/26/2007 21:09:04
Aleksey Cheusov dixit:

>7 ~>ret5 | true | ret5
>5 0 5 ~>true | false | ret7
>0 1 7 ~>false | false

Ah okay. This is not easily possible because the parts of the pipe
are run in subshells. I guess that means deep code changes.

If you offer a patch, documentation (patch for manpage), and a
list what other shells have this functionality and how it works
in these, I might consider including it though.

I believe no one can invent an algorithm. One just happens to hit upon it
when God enlightens him. Or only God invents algorithms, we merely copy them.
If you don't believe in God, just consider God as Nature if you won't deny
existence.		-- Coywolf Qi Hunt