James Cammarata wrote:
Three words: uncertain Cheetah future. Six words: You wouldn't have to use them. Twenty two words: Cheetah hasn't had a release since 2007. Some hedging of bets seems important if we say, run into 2.6/3000 Python bugs.
I've already asked the Fedora maintainer about whether we can move to the "Community Cheetah" release/fork though from the Cheetah list it's a little unclear about who's owning it moving forward.
I've already run into at least one major (in my opinion) Cheetah bug, which was improper handling of escapes. In Cheetah currently you cannot escape a , so trying to do \ fails. This was a major nightmare when working on Windows SIFs (response files), since all the paths are MS paths, and needing to have variables in the paths.
The solution was to add a tempate variable for backslashes and render the template with that, total nightmare that looked like this:
OriSrc = "${bsp}${bsp}$next_server\REMINST${bsp}$name\i386"
\$var is interpreted as "$var" always, so your variable is not interpreted.
I am guessing it might be \\$foo, not having tried it.
Escape the backslashes and also the dollar sign.
When in doubt you can also build the string in pieces using #set --Michael