enveval.sh 158 B

1234567891011
  1. #! /bin/sh
  2. unset FOO
  3. FOO=foocorrect eval echo \$FOO
  4. FOO=wrong
  5. BAR=barcorrect
  6. FOO=foocorrect eval echo \$FOO \$BAR
  7. FOO=foocorrect sh -c 'echo "$FOO $BAR"'