0

If I run the command

FOO=bar echo $FOO

I would expect it to bar, but it just echoes an empty string.

It appears that $FOO is not getting set.

What am I doing wrong?

jonrsharpe
  • 115,751
  • 26
  • 228
  • 437
PortMan
  • 4,205
  • 9
  • 35
  • 61

0 Answers0