felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Felix Meschberger (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (FELIX-3341) Simple csh-like Command History
Date Wed, 06 Jun 2012 08:51:22 GMT

     [ https://issues.apache.org/jira/browse/FELIX-3341?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Felix Meschberger reassigned FELIX-3341:
----------------------------------------

    Assignee: Felix Meschberger
    
> Simple csh-like Command History
> -------------------------------
>
>                 Key: FELIX-3341
>                 URL: https://issues.apache.org/jira/browse/FELIX-3341
>             Project: Felix
>          Issue Type: Improvement
>          Components: Gogo Shell
>    Affects Versions: gogo.shell-0.10.0
>            Reporter: Felix Meschberger
>            Assignee: Felix Meschberger
>         Attachments: FELIX-3341.patch
>
>
> Suggest to add a simple csh like command line history.
> * A new command "history" is added to the Shell class listing the command history
> * A new History class is added to manage a bounded, in-memory-only command history
> * Commands can be reused from the history using commands following this simple syntax:
>          command = ( '!' spec ) | ( '^' subst ) .
>          spec = '!' event [ ':' [ 'a' | 'g' ] 's' regex ] .
>          event = ( '!' | idx | '?' find | string )
>          idx = [ '-' ] { 0..9 } .
>          find = string ( '?' | EOL ) .
>          subst = pat '^' repl '^' EOL .
>          regex = str pat str repl str EOL .

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message