[lug] Bash question

Daniel Webb lists at danielwebb.us
Sat Jul 10 02:52:21 MDT 2004


$ X=nothing
$ read X <<< $(echo something)
$ echo $X
something

$ X=nothing
$ echo something | read X
$ echo $X
nothing

Why???




More information about the LUG mailing list