Currently, most (all?) of the command-line arguments to zorbacmd are
processed by a class called ZorbaCMDProperties, which is pretty ugly and
tied in with the undocumented "properties" mechanism. So this change may
require a little digging to figure out where to do it, and how.

You received this bug notification because you are a member of Zorba
Coders, which is the registrant for Zorba.

  Deprecate -f argument to zorbacmd

Status in Zorba - The XQuery Processor:

Bug description:
  zorbacmd's "-f -q" arguments are ugly. It would make more sense to
  introduce the ability to name query files simply by listing them on
  the command line without a leading hyphen-option, eg.

    zorba /tmp/foo.xq /tmp/bar.xq

  would execute the queries contained in those two files. We could then
  deprecate -f, and remove it entirely in Zorba 3.0.

  If we do this, we need to ensure that the newly-added ability to use
  Zorba as a shebang command in Unix shell scripts also works without
  specifying any arguments on the shebang line; that is,


  should work and return "1".

  -q would remain unchanged for specifying queries directly on the

To manage notifications about this bug go to:

Mailing list:
Post to     :
Unsubscribe :
More help   :

Reply via email to