Re: Bash script question (was: Re: Netscape 4.73 wrapper broken)

2000-06-25 Thread Colin Watson
kmself@ix.netcom.com wrote: >The key difference is that $( command list ) is nestable without >quoting, backticks are not. [snip] >The functionality is common in a number of shells other than bash, >though I'm not quite sure which. I believe the Unix posix-compliant >(bastardized korn) and possi

Re: Bash script question (was: Re: Netscape 4.73 wrapper broken)

2000-06-25 Thread kmself
On Fri, Jun 23, 2000 at 08:51:44PM -0400, Peter Kovacs wrote: > On Sat, 24 Jun 2000, Mark Phillips wrote: > > for f in $(cd > > From man 1 bash: >Command Substitution >Command substitution allows the output of a command to >replace the command name. There are two

Re: Bash script question (was: Re: Netscape 4.73 wrapper broken)

2000-06-24 Thread Andre Berger
Andre Berger <[EMAIL PROTECTED]> writes: Sorry, use kill -9 $(pidof communicator-smotif.real) or something like that. Andre > Peter Kovacs <[EMAIL PROTECTED]> writes: > > > On Sat, 24 Jun 2000, Mark Phillips wrote: > > From man 1 bash: > >Command Substitution > >Command

Re: Bash script question (was: Re: Netscape 4.73 wrapper broken)

2000-06-24 Thread Marek Habersack
** On Jun 24, Mark Phillips scribbled: > Peter Kovacs [EMAIL PROTECTED] wrote: > > On Fri, 23 Jun 2000, Peter Kovacs wrote: > > > > > I'm sure that a fix has already been posted, but this works for me > > > (replace the code above with this): > > > > > > for d in /usr/lib/netscape/base-4/

Re: Bash script question (was: Re: Netscape 4.73 wrapper broken)

2000-06-24 Thread Marek Habersack
** On Jun 24, Mark Phillips scribbled: > Corey Popelier [EMAIL PROTECTED] wrote: > > > Yes I have this problem also. I assume we shall await a fix. And use > > Mozilla in the meantime :) [snip] > And the problem seems to be with a syntax error at the line > > for f in (cd $d;ls -1

Re: Bash script question (was: Re: Netscape 4.73 wrapper broken)

2000-06-24 Thread Andre Berger
Peter Kovacs <[EMAIL PROTECTED]> writes: > On Sat, 24 Jun 2000, Mark Phillips wrote: > From man 1 bash: >Command Substitution >Command substitution allows the output of a command to >replace the command name. There are two forms: > > $(command) >or >

Re: Bash script question (was: Re: Netscape 4.73 wrapper broken)

2000-06-23 Thread John Pearson
On Fri, Jun 23, 2000 at 08:51:44PM -0400, Peter Kovacs wrote > On Sat, 24 Jun 2000, Mark Phillips wrote: > > > What does "YMMV" stand for? > > YMMV = Your Mileage May Vary > > > An official fix has come through, and what it does is replace > > > > for f in (cd. > > > > by > > > >

Re: Bash script question (was: Re: Netscape 4.73 wrapper broken)

2000-06-23 Thread Peter Kovacs
On Sat, 24 Jun 2000, Mark Phillips wrote: > What does "YMMV" stand for? YMMV = Your Mileage May Vary > An official fix has come through, and what it does is replace > > for f in (cd. > > by > > for f in $(cd From man 1 bash: Command Substitution Command substitu

Re: Bash script question (was: Re: Netscape 4.73 wrapper broken)

2000-06-23 Thread Mark Phillips
Peter Kovacs [EMAIL PROTECTED] wrote: > On Fri, 23 Jun 2000, Peter Kovacs wrote: > > > I'm sure that a fix has already been posted, but this works for me > > (replace the code above with this): > > > > for d in /usr/lib/netscape/base-4/wrapper.d ; do > > cd $d; > >

Re: Bash script question (was: Re: Netscape 4.73 wrapper broken)

2000-06-23 Thread Peter Kovacs
On Sat, 24 Jun 2000, Mark Phillips wrote: > for d in \ > /usr/lib/netscape/base-4/wrapper.d \ > /usr/lib/netscape/$VER \ > /usr/lib/netscape/$VER/$BIN ;do > for f in (cd $d;ls -1 . | sort); do > . $d/$f > done > done I'm sure

Bash script question (was: Re: Netscape 4.73 wrapper broken)

2000-06-23 Thread Mark Phillips
Corey Popelier [EMAIL PROTECTED] wrote: > Yes I have this problem also. I assume we shall await a fix. And use > Mozilla in the meantime :) Or we could try to fix it... the error is with the code: for d in \ /usr/lib/netscape/base-4/wrapper.d \ /usr/lib/netscape/$VER \ /usr/lib/netscape/

Re: Netscape 4.73 wrapper broken

2000-06-23 Thread Corey Popelier
Yes I have this problem also. I assume we shall await a fix. And use Mozilla in the meantime :) Cheers, Corey Popelier http://members.dingoblue.net.au/~pancreas Work Email: [EMAIL PROTECTED] On Fri, 23 Jun 2000, Mark Phillips wrote: > I've just updated my system to the current frozen, and inc

Netscape 4.73 wrapper broken

2000-06-23 Thread Mark Phillips
I've just updated my system to the current frozen, and included in this update was the installation of netscape 4.73. When I now run netscape, it bombs out, complaining of: $ netscape /usr/bin/X11/netscape: line 277: syntax error near unexpected token `(c' /usr/bin/X11/netscape: line