Save the environment .. ;-)

  • This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.
This one gave me headaches:

TEST >unset abc

TEST >echo dummy text | set abc=something

TEST >set abc
TCC: Not in environment "abc*"
Problem is the "|" makes the next command to start a new instance of tcc
Any set variable will be lost when this instance exits.

What would be a good way to "save" abc?
(beside writing "abc=something" to a file and reading it afterwards)