Why doesn't bash expand this variable when I prefix a command with a "one time variable assignment" – unix.stackexchange.com

If I run this bash command and prefix the statement, so that the variable fruit should exist, but only for the duration of this command: $ fruit=apple echo $fruit $ The result is an empty line. ...

from Hot Questions - Stack Exchange OnStackOverflow
via Blogspot

Share this

Artikel Terkait

0 Comment to "Why doesn't bash expand this variable when I prefix a command with a "one time variable assignment" – unix.stackexchange.com"