Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

Save the environment .. ;-)

Aug
376
9
This one gave me headaches:

Code:
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)
 
See "Pipes" ... "in-process pipes".

Code:
v:\> unset /q abc

v:\> echo dummy text |! set abc=something

v:\> set abc
something
 

Similar threads

Back
Top