On Fri, 09 Feb 2001, you wrote:
> Hello Tom,
Hello Philipp,
[snip]
> > I agree with Toby on this, it is not portable... in fact I can't find a
shell > > in which it works. This syntax is for environment variables, what
you are > > looking for is
>
> It's bash syntax and means the same as backticks. (At least my linux bash
> and zsh support it).
Hmmmmm, I hadn't come across that in bash before, and it doesn't work in
bash 1.14.7(1), which is wat I've got; I get, variously, nothing or 'bad
substitution'. But then I haven't upgraded bash in a long time on my system.
If this is now the meaning of ${...}, then how do you now express things like:
${FILENAME_PREFIX}filename.typ
where
$FILENAME_PREFIXfilename.typ
will try to use the wrong variable?
> > kill -9 `cat /var/run/jboss.pid`
> >
> > note that backwards single quotes.
>
> I'm unsure if a kill -9 is the right way to do this?! Jboss has no chance
> to enter it's shutdown hook!
Yes, someone else has pointed this out, also. I was not suggesting that kill
-9 was the way to go, but I was just taking the script sent to the list and
modifying it in this particular.
Tom
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
List Help?: [EMAIL PROTECTED]