zorba-coders team mailing list archive
-
zorba-coders team
-
Mailing list archive
-
Message #12337
[Bug 1025564] [NEW] Deprecate -f argument to zorbacmd
Public bug reported:
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.
** Affects: zorba
Importance: Medium
Assignee: Luis Rodriguez Gonzalez (kuraru)
Status: Confirmed
** Changed in: zorba
Importance: Undecided => Medium
** Changed in: zorba
Milestone: None => 2.7
** Changed in: zorba
Assignee: (unassigned) => Chris Hillery (ceejatec)
** Changed in: zorba
Status: New => Confirmed
** Changed in: zorba
Assignee: Chris Hillery (ceejatec) => Luis Rodriguez Gonzalez (kuraru)
--
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
Follow ups
References