Hi Bob
I am sorry but I am not too aware of Tk and how it can work alongside Tcl. is it as simple as
set passwd makeentry(parent, "Password:", 10, show="*");
can you illustrate a very basic example please?
Hi
I know I may sound naive but is it possible to hide/mask the user input in a gets stdin command. I want to do this in my script which accepts user input for password
puts -nonewline stdout "Please enter the password: ";
#want to mask/hide the input text here
gets stdin wspasswd;
I tried...
Hi all
My requirement is to call a shell script within TCL which runs some sql grant scripts on a particular schema/database based on some parameters passed into the shell script
Is the command as simple as
set param1 username
set param2 password
set param3 sid
exec /tmp/bin/test_shell.sh...
Hi Feherke
That was quick! wow.
The reason for setting to different variables is because we are planning to read a file which has such a format to get details of parameters which will be used in the script.
That was the only reason.
Hi
Is there an easy way to perform substring operations in TCL
For eg if I have a file with something like
# Ingore this
#ignore
a1:a2:a3
b1:b2:b3
And
1. I want to ignore the lines with #
2. I want to pick each value between the ':' for each line and assign them to different variables...
Thanks
This is a lot for me to look at given my knowledge of TCL. But definitely helpful. Will try to see what I can do for Unix as I just found out that the test env is unix based here where I work.
I got some suggestions to use OraTCL and nstcl but am not sure whether they are pre...
Definitely Mikrom
If you could please post what you have.
As I am not a guru in TCL, anything that is related to the solution will help my cause.
Thanks
Birdy
Hi
Is there any inbuilt functionality of TCL where I can invoke and run an .sql script on a selected Target schema and then return control back to the TCL script? SOmething like
set orauser scott
set orapwd tiger
set SID orcl
# execution of SQL script by some logic using above params
I...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.