On Tue, Apr 27, 2004, Aaron Bostick wrote:
> I like that nohup trick! :)
>
> One question though, for some strange reason my bash shell chokes on a
> quoted $! but works fine with it unquoted.
>
> My bash version is:
> GNU bash, version 2.05b.0(1)-release (i686-pc-linux-gnu)
> Copyright (C) 2002 Free Software Foundation, Inc.
>
> I tried all of the other special parameters with and without double
> quotes and all worked except for $!.
>
> echo "$!" give me:
> bash: !": event not found
> and echo $! gives me the acual process id.
>
> I try the same test using /opkg/lib/openpkg/bash and get the same
> result, but that bash just happens to be the identical version as my
> gentoo bash.
>
> Is this a bug in bash or what? I only care because as written, your new
> startup script looks like it might not work on my gentoo system.
Our startup scripts are executed by our own Bash (<prefix>/lib/openpkg/bash)
and if this works for you, then the script is not broken.
But OTOH I think we can remove the quotes anyway...
Ralf S. Engelschall
[EMAIL PROTECTED]
www.engelschall.com
______________________________________________________________________
The OpenPKG Project www.openpkg.org
User Communication List [EMAIL PROTECTED]