Skip to content

Commit

Permalink
Updated README for my recent changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
Stephen Brennan committed Jan 16, 2015
1 parent 65f2c38 commit 9f2b98a
Showing 1 changed file with 9 additions and 15 deletions.
24 changes: 9 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,12 @@
LSH
===

LSH is my little attempt at a *real* shell in C. It's called LSH because it's
supposed to be the Libstephen SHell. That's because I hope that if this shell
becomes anything, it could become a part of Libstephen as a shell library. It
would have a simple shell syntax, maybe optional globbing, and it would be
simple to plug any set of commands into it. That way, it could be used for
quick interfaces by defining simple commands.

But right now, it's just a simple shell to demonstrate that I know how a shell
works. That is, read, parse, fork, exec, and wait. So I think it's pretty
cool. Here are the limitations:

* One line commands.
* Only whitespace-delimited, no quoting of arguments.
* No built-ins (e.g. cd, pwd, etc.).

LSH is a simple implementation of a shell in C. It demonstrates the basics of
how a shell works. That is: read, parse, fork, exec, and wait. So I think it's
pretty cool. Since it's a simple implementation, it has some limitations.

* Commands must be on a single line.
* Arguments must be separated by whitespace.
* No quoting arguments or escaping whitespace.
* No piping or redirection.
* Only builtins are: `cd`, `help`, `exit`.

0 comments on commit 9f2b98a

Please sign in to comment.