> I notice a difference in behaviour for the following two commands on
> the omega binary:
>
> ./omega DB='forum' FMT='searchForum.xml'
HITSPERPAGE='25' P='madonna'
>
> ./omega
> DB='forum'
> FMT='searchForum.xml'
> HITSPERPAGE='25'
> P='madonna'
The difference is in the quoting. For the first example, the quotes are
interpreted by the shell, so omega gets the value "searchForum.xml"
(without the " symbols) for the FMT parameter. For the second example,
the quotes are not stripped, so the omega gets the value
"'searchForum.xml'" (without the " symbols, but with the
' symbols) for
the FMT parameter.
Instead, do:
./omega
DB=forum
FMT=searchForum.xml
HITSPERPAGE=25
P=madonna
--
Richard