zorba-coders team mailing list archive
-
zorba-coders team
-
Mailing list archive
-
Message #12338
[Bug 1025564] Re: Deprecate -f argument to zorbacmd
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.
https://bugs.launchpad.net/bugs/1025564
Title:
Deprecate -f argument to zorbacmd
Status in Zorba - The XQuery Processor:
Confirmed
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,
#!/usr/bin/zorba
1
should work and return "1".
-q would remain unchanged for specifying queries directly on the
command-line.
To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/1025564/+subscriptions
References