Re: Bash Quirkiness

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 26 Jul 2004, Alexander Dalloz wrote:

$(foo) is the current notation and some day ` ` (backticks) will go away
from bash (by it's developers).

one other subtle point is that this construct produces only what is sent to stdout -- stderr would still, by default, come to the tty. if you really wanted both output streams, you could always do something like:


  VAR=$(command ... 2>&1)

but most folks typically want only stdout, anyway.

rday



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux