You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I am using cmd2 to develop a shell like TCL. Because the tools I use are based on TCL syntax (e.g. INNOVUS, ICC2 ...)
And I encountered a problem: variable and command substitution.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi, I am using cmd2 to develop a shell like TCL. Because the tools I use are based on TCL syntax (e.g. INNOVUS, ICC2 ...)
And I encountered a problem: variable and command substitution.
I will use Bash as example:
Could you give some suggestions to do it ?
For variable substitution
Maintain a dictionary as class variable, set variable and variable substitution will also rely on it.
For command substitution, I have no idea to realize it.
Beta Was this translation helpful? Give feedback.
All reactions