Re: Bash Quirkiness

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

 



On Mon, 2004-07-26 at 11:08, Robert P. J. Day wrote:

> it's short for "command substitution", which runs the command 
> contained with the ` quotes and produces what's printed to standard 
> output.  *very* different from the regular single quotes -- you *bet* 
> they're not interchangeable.
> 
> to avoid confusion, you can also identify command substitution with 
> the syntax $(... command ...), which i personally prefer, since it's 
> much clearer.  that is, you'd be better off writing:
> 
>       c=$(expr ... ')
> 
> at least, in my opinion.
> 
Outstanding. Thank you very much.



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

  Powered by Linux