dspinellis / dgsh

Shell supporting pipelines to and from multiple processes
http://www.spinellis.gr/sw/dgsh/
Other
323 stars 23 forks source link

Variables seem to loose their value in some contexts #51

Closed dspinellis closed 7 years ago

dspinellis commented 7 years ago
[dds@stereo dgsh]$ bash -c 'N=4 ; echo $N'
4
[dds@stereo dgsh]$ dgsh -c 'N=4 ; echo $N'

[dds@stereo dgsh]$ 
dspinellis commented 7 years ago

Happens when in some strange subshell.