box <[EMAIL PROTECTED]> wrote:
> void ${NAME}Panel::showEvent(QShowEvent *e) {
> ...code
> }
>
> I want to be able to run my script, have it read the contents of the files
> while replacing ${NAME} with a variable that is defined elsewhere in my
> script.
NAME=...
eval "cat < output-file
ent(QShowEvent *e) {
...code
}
when what I want is
void FooPanel::showEvent(QShowEvent *e) {
...code
}
Any suggestions?
--
View this message in context:
http://www.nabble.com/automatic-code-generation-tf1932672.html#a5294509
Sent from the Gnu - Bash forum