On Mon, Jun 29, 2009 at 04:27:45AM +0200, Roland Mainz wrote:
> 
> Hi!
> 
> ----
> 
> It's 4:20h AM here, maybe that's the reason why I don't spot the
> difference right now:
> Why does $ ksh93 -c 'tee <( printf "hello\n" )' # hang forever while $
> ksh93 -c 'cat <( printf "hello\n" )' # prints "hello" ?

ksh cause tee to report
tee: /dev/fd/3: Text file busy

bash cause tee to report
tee: /dev/fd/63: Text file busy

and IMHO both is correct.  For bash I would use

   bash -c 'tee < <( printf "hello\n" )'

but this seems not to work with ksh.

     Werner

-- 
  "Having a smoking section in a restaurant is like having
          a peeing section in a swimming pool." -- Edward Burr
_______________________________________________
ast-users mailing list
[email protected]
https://mailman.research.att.com/mailman/listinfo/ast-users

Reply via email to