> 
> $ ./tt 2>&1 1>output.txt
> ++ echo hello
> ++ set +x
> $
>     Why I am unable to merge standard error into standard output and then redirect 
>it to a file
> Please tell me a soulution
> Sunil

It should have been

tt >output.txt 2&>1
or even simpler

tt &> output.txt


sreangsu



----------------------------------------------
The mailing list archives are available at
http://lists.linux-india.org/cgi-bin/wilma/LIH

Reply via email to