Hi,

>   if echo 'r /nonexist-file
> q' | ex
> 
> works but 
> 
>   if echo 'r /nonexist-file
> q' | ex > /dev/null 2>&1
> 
> hangs.
> 
> Redirecting just standard output cause no problem.  But there doesn't
> seem any output to redirect anyway...

Can you use strace on Solaris to see what ex is actually doing?

Cheers,


Ralph.

Reply via email to