If I do this (with no control operator after the variable assignment)
$ A=1 echo $A
Nothing.
but if I
$ A=1 bash -c 'echo $A'
1
Why isn't the first A 1? Thanks!
If I do this (with no control operator after the variable assignment)
$ A=1 echo $A
Nothing.
but if I
$ A=1 bash -c 'echo $A'
1
Why isn't the first A 1? Thanks!