ksh:
I need to match and replace a string. The string is set in a variable. Is there a simple command or way to do it? (ex. in ksh93 there's ${var/pattern/replace})
I've been away from unix scripting for a while, I'm rusty ...
I assume you need to use the global -onvalue value of a checkbox?
I think this might resolve your problem, provided you incorporate Bong's advice.
> global gblst
> eval global $gblst
> foreach x $gblst {
> .info_display insert end "[expr $$x]\n"
> }
By the way, if you use instead...
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.