This would be great for educational purposes. Also a tutorial on subject would be nice.
+1
A:
I started one here, which was later improved an incorporated into HelenOS as 'bdsh' , the 'brain dead shell'.
It does no expansion, no job control, but its a start. Disclaimer, I wrote it in a couple of weeks so that HelenOS could test persistent file systems interactively, at the time FAT support was still brewing and a BSD licensed 'busybox' was needed.
But, its got readline / editline support, modules, builtins, etc .. and lets you navigate around.
Others to check out (much better than mine) would be mksh or Dash.
Tim Post
2009-03-13 13:54:43