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 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