Hello everyone,
I am trying to embed some tcl code inside a ksh93 script but I am not having any success.
I even tried the simplest of code, something like this:
.
.
jk=$(echo $(tcl << |
write_file junkme "test"'
|
))
just to see if a file gets written. When I run there are no errors, but I am not getting the file.
Am I doing something wrong with the embedding format?
If I interactively place this code inside a ksh93 session, one line at a time it works ....
Please help me resolve this.
When I get over this first hurdle then I will actually be putting more realistic statements inside my embedded tcl area.
Is there maybe a better way to go by for embedding snippets of tcl code in ksh93 scripts?
Thanks to all.