Latest version of the bjorne shell.

Project:JNode Core
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:closed
Description

The attached tar file contains the latest interim version of the bjorne interpreter. I would appreciate it if some adventurous folks tried it out. I wouldn't suggest checking it into svn just yet though. It needs a lot more testing Smiling

So far, the bjorne interpreter includes the following:

  • Simple commands with redirections
  • Pipelines, && and ||
  • Setting and expansion of shell variables, including $?.
  • Backticks

So far, I have not tried integrate the bjorne interpreter with the CommandShell's command history or completion mechanisms. But that's OK. History and completion work just fine in the "redirecting" interpreter which is the one that the user sees on startup.

The interim mechanism for switching to the bjorne interpreter is type the following at the console:

  set jnode.interpreter bjorne

You can then switch back by typing:

  set jnode.interpreter redirecting

or even

  set jnode.interpreter default

AttachmentSize
issues_9122.87 KB

#1

Status:active» closed

Since unlike the last time it came now as an unintrusive extension to the codebase and since I am confident that you will continue improving it I have committed the initial version of your Bjorne Shell implementation to the JNode SVN repsitory trunk. Smiling
I hope others will have an easier time playing with it too and will provide feedback to you...

#2