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
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...
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.