zsh-users
 help / color / mirror / code / Atom feed
* old shell question
@ 2003-07-03 11:05 jarausch
  2003-07-03 11:20 ` Dominic Mitchell
  0 siblings, 1 reply; 2+ messages in thread
From: jarausch @ 2003-07-03 11:05 UTC (permalink / raw)
  To: zsh-users

Hi,
sorry for this offtopic question but I know
that there are very knowledgeable people
on this list.

I had problems with the invocation script of
the opera web-browser.
The reason was that when invoked via

opera -remote openURL(...,...)

this script gets the TWO parameters
-remote
and
openURL(...,...)

and concatenates these to a SINGLE
parameter like
'-remote openURL(...,...)'
and passed this to the true opera
binary.

This didn't work ofcourse.

I replaced this with 'pushing' the 
arguments to the script onto an array
and expanded this when calling the true
binary.
Unfortunately ancient shells (like on Sun)
don't have arrays.
Does anybody know a means to achieve what
I intend such that it's running on ancient
shells?

Many thanks,

Helmut Jarausch

Lehrstuhl fuer Numerische Mathematik
RWTH - Aachen University
D 52056 Aachen, Germany


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: old shell question
  2003-07-03 11:05 old shell question jarausch
@ 2003-07-03 11:20 ` Dominic Mitchell
  0 siblings, 0 replies; 2+ messages in thread
From: Dominic Mitchell @ 2003-07-03 11:20 UTC (permalink / raw)
  To: jarausch; +Cc: zsh-users

On Thu, Jul 03, 2003 at 01:05:52PM +0200, jarausch@igpm.rwth-aachen.de
wrote:
> Hi, sorry for this offtopic question but I know that there are very
> knowledgeable people on this list.
> 
> I had problems with the invocation script of the opera web-browser.
> The reason was that when invoked via
> 
> opera -remote openURL(...,...)
> 
> this script gets the TWO parameters -remote and openURL(...,...)
> 
> and concatenates these to a SINGLE parameter like '-remote
> openURL(...,...)' and passed this to the true opera binary.

Have a look at the manual for the SH_WORD_SPLIT option.  This is
probably also in the FAQ.

-Dom


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-07-03 11:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-07-03 11:05 old shell question jarausch
2003-07-03 11:20 ` Dominic Mitchell

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).