Skip to main content.
home | support | download

Back to List Archive

Re: -Sprog with -N

From: Paul Borghese <pborghese(at)>
Date: Mon Sep 23 2002 - 15:50:57 GMT
I vote to include it.  

I am trying to write a perl script that automates indexing and can not
seem to get my piped perl script to operate through a perl system
command call.  I keep on getting the message " No such file or
directory" even though it is working fine from the command prompt. 

I am still working on it so maybe I will figure it out.


-----Original Message-----
From: []
On Behalf Of Bill Moseley
Sent: Monday, September 23, 2002 10:28 AM
To: Multiple recipients of list
Subject: [SWISH-E] Re: -Sprog with -N

On Mon, 23 Sep 2002, Paul Borghese wrote:

> I am amazed there is not a command line switch on swish-e that will
> allow you to change/override the SwishProgParameters during run-time.
> You can change most of the other parameters in the config file
> dynamically, why not SwishProgParameters?  I like the idea of using -i
> stdin as a workaround.

Paul, it bugged me too, so one day I actually started to add it then
remembered about the -i stdin method and decided it wasn't needed for
reason.  Ever since that day I've been piping my -S progs into swish.


   ./prog --option=foo -x -y -v | ./swish-e -S prog -i stdin

is clear where

  ./swish-e -S prog -i ./prog -o '--option=foo -x -y -v'

is a bit confusing (to read and probably to swish-e's switch parser) --
-v for swish or for ./prog?

Bill Moseley
Received on Mon Sep 23 15:54:43 2002