"K. Posern" <k@posern.org> wrote:
> Do you have any idea how I may achieve both goals
> (do the io-redirection AND get the return value)
> ???
I don't think bash is expressive enough for this. You may have to use
a more flexible language (C, Scheme, Perl, Python, etc.).
> Or whom may I ask instead?
This list is for bash bugs/development. For help with writing
scripts, news:comp.unix.shell is the place to go.
paul