On 7/13/09 4:51 PM, Hiram Chirino (JIRA) wrote:
     [ 
https://issues.apache.org/jira/browse/FELIX-1325?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12730509#action_12730509
 ]

Hiram Chirino commented on FELIX-1325:
--------------------------------------

Awesome.. from you comments and the issues you've opened up against the RFC, it 
seems we are in agreement that the osgi shell should be familiar to unix shell 
dudes.
How often do they review the RFC feedback and accept/reject proposals?

It doesn't really operate smoothly like this, unfortunately. Right now, the finalization of the R4.2 specs are consuming most of the cycles of OSGi Alliance members and I don't think the shell is necessarily targeted for this release. So, we might not hear too much right now, but I will try to bug people.

-> richard

gogo doesn't report a command not found error unless an argument is supplied
----------------------------------------------------------------------------

                 Key: FELIX-1325
                 URL: https://issues.apache.org/jira/browse/FELIX-1325
             Project: Felix
          Issue Type: Improvement
          Components: Gogo
            Reporter: Derek Baum
            Assignee: Derek Baum
            Priority: Minor

2009/7/13 Hiram Chirino<[email protected]>  wrote:
     But on related note... to the gogo developers: I would have expected a
     command not found error when you type in a command that's not found.  This
     seems to work fine if you pass an argument to a command.  It this a 
'feature' or a bug?
This is a 'feature', in that an undefined command silently returns itself, 
rather than an error.
This is so that:
x = hello
works; otherwise the assignment would fail, with a command not found error.
Note: that
x = hello world
will actually evaluate the 'hello' command with 'world' as an argument.
x = "hello world"
tries to evaulate the 'hello world' command, which probably doesn't exist, so 
it falls back to returning the value, rather than unknown command.
I think this can be simply resolved by avoiding re-evaluating an assignment 
with a single argument.
This will mean that
x = hello
works as it does currently, but that
hello
will fail with 'unknown command', rather than simply return itself.

Reply via email to