What are you tring to redirect? There is no output from your
command; it is only an assignment to a read-only variable (which is
naturally going to fail).
--
Chris F.A. Johnson <http://cfaj.freeshell.org>
==================================================================
Shell Scripting Recipes: A Problem-Solution Approach, 2005, Apress
<http://www.torfree.net/~chris/books/cfaj/ssr.html>