I’m having a problem, and I’m sure it is something stupid, but I can’t figure it out. I want to take the output of a perl script and store it in an environment variable, but it only stores a 0 in it. I also tried the same with just echo and I get the same results.
For example:SetEnv var PipeRead "echo tester"
Then when I try to echo it gives me a 0:
sh-2.05b$ echo $[var]
0
PipeRead passes whatever you tell it to the underlying shell, which then evaluates what you tell it, and passes it back to FVWM. So you really mean to write: