On Mon, Mar 20, 2006 at 03:58:41PM +0000, Steve Smith wrote: >Hi, upon seeing >http://cygwin.com/ml/cygwin/2006-02/msg00090.html > >I downloaded the latest complete stable cygwin, after changing the >tcl version to the updated version. I then downloaded the latest >snapshot of cygwin1.dll and installed that (http://cygwin.com/ >snapshots/cygwin1-20060319.dll.bz2). > >The problem has not been fixed...did I not get the installation correct? > >export F=1 >>tclsh >puts [ exec sh -c "echo $F" ] > can't read "F": no such variable
You might want to think about how $F is evaluated above. It isn't evaulated by 'sh'. It's evaluated by tclsh. puts [ exec sh -c "echo \$F" ] will work better. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/