On Sun, Sep 26, 1999 at 02:41:17AM +0200, J Horacio MG thus spoke:
> Hi,
>
> could anyone explain to me what "backtick expansions" are, please?
> (just for the sake of the manual translation).
Also known by several names such as "grave quote executions", these are
along the lines of:
pid=`ps aux |grep inetd |grep -v grep |awk '{print $2}'`
The variable $pid would then contain the "expansion" (read: results of
execution) of the commands in grave quotes (backticks). I'm not sure where
"backtick" came from...I learned of them as "grave quotes" a long time ago...
At any rate, they denote "execute this command" in most shells and many
programs, and you can set variables equal to the expansion of that
execution's result.
mark->
--
Fairlight-> ||| [EMAIL PROTECTED] | Fairlight Consulting
__/\__ ||| "I'm talking for free... | http://www.fairlite.com
<__<>__> ||| It's a New Religion..." | [EMAIL PROTECTED]
\/ ||| PGP Public Key available via finger @iglou, or Key servers