|
|||||||||||
|
Re: shell script cgi (summary?)
From: Andre Breiler <andre.breiler(at)teamwerk.com>
Date: Tue Nov 19 2002 - 14:26:15 EST
> On Mon, 18 Nov 2002, you wrote:
It shouldn't as long as you don't change the meaning of it. > [root@localhost lib]# export LAME=""whoami""""
Yes that will work because the shell expands the `...` into "whoami".
So that you have:
In the original example the expanded bit got stored in an variable so
the after expansion the command would look like:
[root@localhost lib]# ua='whoami'
> In case you didn't realise - it'z the ` and ` characters around the whole
Yes the idea behin `` is that it gets executed and replaced by the output of it. If this output will get executed depends if you are useing the output as command (your example) or not (the original example). Bye Andre' Received on Wed Nov 20 03:18:06 2002 This archive was generated by hypermail 2.1.8 : Wed Aug 23 2006 - 14:07:37 EDT |
||||||||||
|
|||||||||||